You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifmodel.surfaceplant.enduse_option.valuein [EndUseOptions.ELECTRICITY, EndUseOptions.COGENERATION_TOPPING_EXTRA_HEAT, EndUseOptions.COGENERATION_TOPPING_EXTRA_ELECTRICITY, EndUseOptions.COGENERATION_BOTTOMING_EXTRA_ELECTRICITY, EndUseOptions.COGENERATION_BOTTOMING_EXTRA_HEAT, EndUseOptions.COGENERATION_PARALLEL_EXTRA_HEAT, EndUseOptions.COGENERATION_PARALLEL_EXTRA_ELECTRICITY]: # there is an electricity component
1569
1569
f.write(f' Average Net Electricity Production: {np.average(model.surfaceplant.NetElectricityProduced.value):10.2f} '+model.surfaceplant.NetElectricityProduced.CurrentUnits.value+NL)
1570
-
ifmodel.surfaceplant.enduse_option.value!=EndUseOptions.ELECTRICITY: # there is a direct-use component
1570
+
ifmodel.surfaceplant.enduse_option.valueisnotEndUseOptions.ELECTRICITY: # there is a direct-use component
1571
1571
f.write(f' Average Direct-Use Heat Production: {np.average(model.surfaceplant.HeatProduced.value):10.2f} '+model.surfaceplant.HeatProduced.CurrentUnits.value+NL)
0 commit comments