Skip to content

Commit

Permalink
Add subhourly clipping correction to loss diagram when applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
mjprilliman committed Sep 1, 2023
1 parent f9c96b2 commit 22818d8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion deploy/runtime/lossdiag.lk
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ loss_diagram{'Flat Plate PV'} = define() {

new_baseline( 'annual_ac_gross', 'Gross AC electricity (kWh)' );
add_loss_term('annual_ac_wiring_loss_percent', 'AC wiring' );
if (value('enable_subhourly_clipping'))
{
add_loss_term('annual_subhourly_clipping_loss_percent', 'Subhourly clipping correction');
}
// add_loss_term('annual_ac_transformer_loss_percent', 'Step-up transformer' );
add_loss_term('annual_xfmr_loss_percent', 'Transformer loss' );
add_loss_term('annual_transmission_loss_percent', 'Transmission loss');
Expand Down Expand Up @@ -122,7 +126,11 @@ loss_diagram{'PV Battery'} = define() {
{
add_loss_term('annual_ac_battery_loss_percent', 'Battery loss (kWh)');
}
add_loss_term('annual_ac_wiring_loss_percent', 'AC wiring' );
add_loss_term('annual_ac_wiring_loss_percent', 'AC wiring' );
if (value('enable_subhourly_clipping'))
{
add_loss_term('annual_subhourly_clipping_loss_percent', 'Subhourly clipping correction');
}
// add_loss_term('annual_ac_transformer_loss_percent', 'Step-up transformer' );
add_loss_term('annual_xfmr_loss_percent', 'Transformer loss' );
add_loss_term('annual_transmission_loss_percent', 'Transmission loss');
Expand Down

0 comments on commit 22818d8

Please sign in to comment.