Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions _alp/Agents/UI_EnergyHub/Code/Functions.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@
f_styleEnergyHubResultsUI();

//Set ResultsUI radiobutton setup
if(zero_Interface.settings.resultsUIRadioButtonSetup() != null){
uI_Results.v_selectedRadioButtonSetup = zero_Interface.settings.resultsUIRadioButtonSetup();
}
uI_Results.v_selectedRadioButtonSetup = OL_RadioButtonSetup.DEFAULT_AND_GESPREKSLEIDRAADBEDRIJVEN_AND_GTO;


//Connect resultsUI
uI_Results.f_initializeResultsUI();
Expand Down
8 changes: 8 additions & 0 deletions _alp/Agents/Zero_Loader/Code/Functions.java
Original file line number Diff line number Diff line change
Expand Up @@ -1941,6 +1941,14 @@ GISRegion f_createGISRegionChargingStation(double lat,double lon)
//Simulate full year simulation for initial KPIs
if( settings.runHeadlessAtStartup() ){
energyModel.f_runRapidSimulation(); // Do a full year run to have KPIs right away!

if(project_data.project_type() == BUSINESSPARK){
for(GCUtility GC : energyModel.UtilityConnections){
if(GC.p_owner.p_detailedCompany){ // For now only detailed companies
GC.v_originalRapidRunData = GC.v_rapidRunData;
}
}
}
zero_Interface.gr_simulateYear.setVisible(false);
zero_Interface.gr_loadIconYearSimulation.setVisible(false);
zero_Interface.b_resultsUpToDate = true;
Expand Down
2 changes: 1 addition & 1 deletion _alp/Agents/tabEHub/Levels/Level.level.xml
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ zero_Interface.uI_Results.f_showCorrectChart();
<Y>-10</Y>
</Label>
<PublicFlag>true</PublicFlag>
<PresentationFlag>false</PresentationFlag>
<PresentationFlag>true</PresentationFlag>
<ShowLabel>false</ShowLabel>
<DrawMode>SHAPE_DRAW_2D</DrawMode>
<EmbeddedIcon>false</EmbeddedIcon>
Expand Down