diff --git a/docs/_js/power-calculator.js b/docs/_js/power-calculator.js index cc68fafef..c58ceead3 100644 --- a/docs/_js/power-calculator.js +++ b/docs/_js/power-calculator.js @@ -23,7 +23,7 @@ tx_ma: 'TX current (mA), estimate', rx_extra: 'extra current while receiving (mA), estimate', usable_pct: 'usable capacity (%)', voltage: 'battery voltage (V)', charge_eff_pct: 'charging efficiency (%), estimate', site_pct: 'real installation (% of the model)', month: 'Month', orient: 'Panel faces', - charger: 'charger', chem: 'battery chemistry', dark_days: 'days without sun', + panel_w_each: 'W per panel', charger: 'charger', chem: 'battery chemistry', dark_days: 'days without sun', dark_ok: '{d} days without sun: the battery carries them ({p} % left)', dark_bad: '{d} days without sun: the battery lasts only {n}', recover: 'refilled in {n} days of this month\'s balance', norecover: 'this month\'s balance does not refill it', @@ -57,7 +57,7 @@ tx_ma: 'proud při vysílání (mA), odhad', rx_extra: 'proud navíc při příjmu (mA), odhad', usable_pct: 'využitelná kapacita (%)', voltage: 'napětí baterie (V)', charge_eff_pct: 'účinnost nabíjení (%), odhad', site_pct: 'reálná instalace (% modelu)', month: 'Měsíc', orient: 'Panel míří na', - charger: 'nabíječ', chem: 'chemie článku', dark_days: 'dny bez slunce', + panel_w_each: 'W na jeden panel', charger: 'nabíječ', chem: 'chemie článku', dark_days: 'dny bez slunce', dark_ok: 'po {d} dnech bez slunce zbude v baterii {p} %', dark_bad: 'bez slunce vydrží baterie jen {n} (zadáno {d})', recover: 'dobije se za {n} dní bilance tohoto měsíce', norecover: 'bilance tohoto měsíce ji nedobije', @@ -224,6 +224,11 @@ return s.mah * s.usable_pct / 100 * (1 - this.coldLoss(m) / 100); }; + P.orientRow = function () { + var s = this.s; + return this.d.solar.orientation.filter(function (x) { return x.id === s.orient; })[0]; + }; + // solar gain in mAh per day in month m (1..12) P.solarGain = function (m) { var s = this.s, so = this.d.solar; @@ -444,7 +449,7 @@ this.seg('preset', d.traffic.presets.map(function (p) { return { v: p.id, t: self.n(p) }; }), presetDis)])); form.appendChild(el('div', { 'class': 'pc-two' }, [ this.field(this.t('mah'), this.num('mah', { step: 100 })), - this.field(this.t('panel_w'), this.num('panel_w', { step: 0.5 }), this.t('panel_hint')) + this.field(this.t(this.orientRow().per_panel ? 'panel_w_each' : 'panel_w'), this.num('panel_w', { step: 0.5 }), this.t('panel_hint')) ])); var months = []; for (var m = 1; m <= 12; m++) months.push({ v: m, t: this.monthName(m) }); diff --git a/docs/power-data.json b/docs/power-data.json index 2f1c2356d..1ef3ddc47 100644 --- a/docs/power-data.json +++ b/docs/power-data.json @@ -330,7 +330,18 @@ { "id": "flat", "en": "flat / snow-prone", "cs": "plochý / pod sněhem", "factor_month": [0.2, 0.3, 0.7, 0.9, 0.95, 0.95, 0.95, 0.95, 0.85, 0.7, 0.4, 0.2], "_comment": "a flat panel under snow makes nothing (D-Central); winter 0-40 % taken as 20-30 %, summer near the optimal tilt; estimate", - "source": "dcentral" } + "source": "dcentral" }, + { "id": "triangle", "en": "triangle, 3 panels", "cs": "triangl, 3 panely", "per_panel": true, + "factor_month": [1.46, 1.47, 1.48, 1.45, 1.51, 1.51, 1.50, 1.47, 1.45, 1.45, 1.47, 1.46], + "factor_month_tilt60": [1.74, 1.82, 1.95, 2.06, 2.24, 2.29, 2.26, 2.13, 1.97, 1.84, 1.77, 1.68], + "_comment": [ + "Three panels around a mast, azimuths south and +-120 deg, vertical (90 deg, as usually built);", + "the panel input is then W PER PANEL. factor_month = (H(i)_m south + H(i)_m +120 + H(i)_m -120)", + "/ H(i)_m of one south panel at the optimal 38 deg, PVGIS v5.2 PVcalc (MRcalc ignores the", + "azimuth), Prague 50.08 N 14.42 E, SARAH2 2005-2020, DEM horizon, queried 4. 12. 2026.", + "factor_month_tilt60: the same at 60 deg, not used by the page. Estimate." + ], + "source": "pvgis" } ], "orientation_source": "estimate", "chargers": [