Skip to content

Commit

Permalink
Debugging of Szenario 2 finished! Only input parameters are needed fo…
Browse files Browse the repository at this point in the history
…r Standby Energy Consumption fuel cell/electrolyzer and minimum running time/standby time

 PV beladet sowohl Haus als auch Fuel Cell wenn diese Standby!!!
                Reststrom von PV geht ins Netz.
                Nur Fuel Cell beladet Battier; Batterie steht dem Haus und allen anderen Verbräuchern aber zur Verfügung!
  • Loading branch information
ChristofBernsteiner committed Apr 10, 2024
1 parent c82597c commit 8ed6111
Show file tree
Hide file tree
Showing 6 changed files with 181 additions and 115 deletions.
6 changes: 4 additions & 2 deletions examples/Cell4LifeSzenario2a.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def Cell4Life(

my_simulation_parameters.post_processing_options.append(postprocessingoptions.PostProcessingOptions.EXPORT_TO_CSV)
my_simulation_parameters.post_processing_options.append(postprocessingoptions.PostProcessingOptions.PLOT_LINE)
#my_simulation_parameters.post_processing_options.append(postprocessingoptions.PostProcessingOptions.MAKE_NETWORK_CHARTS)
my_simulation_parameters.post_processing_options.append(postprocessingoptions.PostProcessingOptions.MAKE_NETWORK_CHARTS)
my_simulation_parameters.post_processing_options.append(postprocessingoptions.PostProcessingOptions.PLOT_CARPET)


Expand Down Expand Up @@ -327,11 +327,13 @@ def Cell4Life(
my_sim.add_component(my_photovoltaic_system)
my_sim.add_component(my_electricityconsumption)
my_sim.add_component(my_h2storage)
my_sim.add_component(my_advanced_battery)
#my_sim.add_component(my_advanced_battery)
my_sim.add_component(my_electrolyzerfuelcellcontroller)
my_sim.add_component(my_electrolyzer)
my_sim.add_component(my_chp)
my_sim.add_component(my_advanced_battery)
my_sim.add_component(my_electricity_controller)


my_sim.add_component(my_wartmwater_system)
my_sim.add_component(my_heatingsystem_system)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,7 @@ def electricity_from_CHP_Battery_to_houseFct(CHP_ElectricityDelivery, BatteryAcB
electricity_to_or_from_grid = Estatus_total + part_pv_to_grid
electricity_from_CHP_to_house,electricity_from_Battery_to_house= electricity_from_CHP_Battery_to_houseFct(CHP_ElectricityDelivery, BatteryAcBatteryPower, electricity_to_or_from_grid, H2Storage_ElectricityConsumption,timestep)




stsv.set_output_value(self.electricity_to_or_from_gridOutput, electricity_to_or_from_grid)
stsv.set_output_value(self.electricity_from_CHP_to_houseOutput, electricity_from_CHP_to_house)
stsv.set_output_value(self.electricity_from_Battery_to_houseOutput, electricity_from_Battery_to_house)
Expand Down
Loading

0 comments on commit 8ed6111

Please sign in to comment.