Docs: power calculator scales the solar yield to what a real installation delivers (45 %)
Changelog: - Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fd6b10db74
commit
3244806de2
3 files changed
+11
-6
No files matched your search
@@ -22,7 +22,7 @@
|
||||
preamble: 'preamble (symbols)', tx_dbm: 'TX power (dBm)',
|
||||
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', month: 'Month', orient: 'Panel faces',
|
||||
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',
|
||||
dark_ok: '{d} days without sun: the battery carries them ({p} % left)',
|
||||
dark_bad: '{d} days without sun: the battery lasts only {n}',
|
||||
@@ -56,7 +56,7 @@
|
||||
preamble: 'preambule (symboly)', tx_dbm: 'vysílací výkon (dBm)',
|
||||
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', month: 'Měsíc', orient: 'Panel míří na',
|
||||
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',
|
||||
dark_ok: 'po {d} dnech bez slunce zbude v baterii {p} %',
|
||||
dark_bad: 'bez slunce vydrží baterie jen {n} (zadáno {d})',
|
||||
@@ -120,7 +120,7 @@
|
||||
sf: td.sf, bw: td.bw, cr: td.cr, preamble: td.preamble, tx_dbm: td.tx_dbm,
|
||||
rx_extra: d.traffic.rx_extra.value,
|
||||
mah: b.mah, usable_pct: b.usable_pct, voltage: b.voltage,
|
||||
panel_w: b.panel_w, charge_eff_pct: b.charge_eff_pct,
|
||||
panel_w: b.panel_w, charge_eff_pct: b.charge_eff_pct, site_pct: d.battery.site_pct,
|
||||
month: d.solar.default_month, orient: d.solar.orientation[0].id, sensors: {},
|
||||
charger: d.solar.chargers[0].id, chem: d.solar.chemistries[0].id, dark_days: d.solar.dark_days
|
||||
};
|
||||
@@ -229,7 +229,7 @@
|
||||
var s = this.s, so = this.d.solar;
|
||||
var o = so.orientation.filter(function (x) { return x.id === s.orient; })[0];
|
||||
var f = o.factor_month ? o.factor_month[m - 1] : o.factor;
|
||||
return s.panel_w * so.sun_h[m - 1] * f * (s.charge_eff_pct / 100) / s.voltage * 1000;
|
||||
return s.panel_w * so.sun_h[m - 1] * f * (s.charge_eff_pct / 100) * (s.site_pct / 100) / s.voltage * 1000;
|
||||
};
|
||||
P.monthName = function (m) {
|
||||
return new Date(2026, m - 1, 15).toLocaleString(this.lang === 'cs' ? 'cs-CZ' : 'en-GB', { month: 'long' });
|
||||
@@ -490,6 +490,7 @@
|
||||
grid.appendChild(this.field(this.t('voltage'), this.num('voltage', { step: 0.1 })));
|
||||
grid.appendChild(this.field(this.t('charger'), this.select('charger', d.solar.chargers.map(function (c) { return { v: c.id, t: self.n(c) + ' ' + c.eff_pct + ' %' }; }))));
|
||||
grid.appendChild(this.field(this.t('charge_eff_pct'), this.num('charge_eff_pct', { step: 5 })));
|
||||
grid.appendChild(this.field(this.t('site_pct'), this.num('site_pct', { step: 5 })));
|
||||
adv.appendChild(grid);
|
||||
adv.appendChild(el('p', { 'class': 'pc-hint', text: this.t('override_hint') }));
|
||||
form.appendChild(adv);
|
||||
|
||||
Reference in new issue
Block a user