mabuseif commited on
Commit
3670292
·
verified ·
1 Parent(s): c055316

Update app/internal_loads.py

Browse files
Files changed (1) hide show
  1. app/internal_loads.py +3 -3
app/internal_loads.py CHANGED
@@ -495,7 +495,7 @@ def display_equipment_tab():
495
  "Sensible Heat Gain",
496
  min_value=0.0,
497
  max_value=200.0,
498
- value=float(editor_state.get("sensible_gain", default_equipment_data["sensible"]))),
499
  format="%.2f",
500
  help="Sensible heat gain in watts per square meter."
501
  )
@@ -505,7 +505,7 @@ def display_equipment_tab():
505
  "Latent Heat Gain",
506
  min_value=0.0,
507
  max_value=200.0,
508
- value=float(editor_state.get("latent_gain", default_equipment_data["latent"]))),
509
  format="%.2f",
510
  help="Latent heat gain in watts per square meter."
511
  )
@@ -533,7 +533,7 @@ def display_equipment_tab():
533
  format="Convective Fraction",
534
  min_value=0.0,
535
  max_value=1.0,
536
- value=float(editor_state.get("convective_fraction", 0.5))),
537
  format="%.2f",
538
  help="Fraction of sensible heat released as convection."
539
  )
 
495
  "Sensible Heat Gain",
496
  min_value=0.0,
497
  max_value=200.0,
498
+ value=float(editor_state.get("sensible_gain", default_equipment_data["sensible"])),
499
  format="%.2f",
500
  help="Sensible heat gain in watts per square meter."
501
  )
 
505
  "Latent Heat Gain",
506
  min_value=0.0,
507
  max_value=200.0,
508
+ value=float(editor_state.get("latent_gain", default_equipment_data["latent"])),
509
  format="%.2f",
510
  help="Latent heat gain in watts per square meter."
511
  )
 
533
  format="Convective Fraction",
534
  min_value=0.0,
535
  max_value=1.0,
536
+ value=float(editor_state.get("convective_fraction", 0.5)),
537
  format="%.2f",
538
  help="Fraction of sensible heat released as convection."
539
  )