fix: include aux consumption in hourly client_end loss calculation
- Also includes aux consumption in loss_factor alongside transmission and DSM Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
38797736a4
commit
48fe2129bf
1 changed files with 2 additions and 2 deletions
|
|
@ -488,8 +488,8 @@ def run_scenario(inputs: ScenarioInput) -> ScenarioResult:
|
|||
if client_load_mw is None:
|
||||
client_load_mw = inputs.commercial.ppa_capacity_mw
|
||||
|
||||
# Transmission loss factor for client_end
|
||||
loss_factor = 1.0 - inputs.commercial.transmission_loss_pct - inputs.commercial.dsm_loss_pct
|
||||
# Transmission + aux loss factor for client_end
|
||||
loss_factor = 1.0 - inputs.commercial.aux_consumption_pct - inputs.commercial.transmission_loss_pct - inputs.commercial.dsm_loss_pct
|
||||
|
||||
# Generate hourly data: 25 years × 8760 hours = 219,000 rows
|
||||
# Start from Apr 1 of cod_year
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue