Skip to content

Commit dcdfd77

Browse files
authored
Merge pull request #175 from Zenmo/GTO_chart_added_to_ehub_dashboard
gto chart added to e-hub dashboard (only)
2 parents 6293dba + 94fbac8 commit dcdfd77

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

_alp/Agents/UI_EnergyHub/Code/Functions.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@
3939
f_styleEnergyHubResultsUI();
4040

4141
//Set ResultsUI radiobutton setup
42-
if(zero_Interface.settings.resultsUIRadioButtonSetup() != null){
43-
uI_Results.v_selectedRadioButtonSetup = zero_Interface.settings.resultsUIRadioButtonSetup();
44-
}
42+
uI_Results.v_selectedRadioButtonSetup = OL_RadioButtonSetup.DEFAULT_AND_GESPREKSLEIDRAADBEDRIJVEN_AND_GTO;
43+
4544

4645
//Connect resultsUI
4746
uI_Results.f_initializeResultsUI();

_alp/Agents/Zero_Loader/Code/Functions.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1941,6 +1941,14 @@ GISRegion f_createGISRegionChargingStation(double lat,double lon)
19411941
//Simulate full year simulation for initial KPIs
19421942
if( settings.runHeadlessAtStartup() ){
19431943
energyModel.f_runRapidSimulation(); // Do a full year run to have KPIs right away!
1944+
1945+
if(project_data.project_type() == BUSINESSPARK){
1946+
for(GCUtility GC : energyModel.UtilityConnections){
1947+
if(GC.p_owner.p_detailedCompany){ // For now only detailed companies
1948+
GC.v_originalRapidRunData = GC.v_rapidRunData;
1949+
}
1950+
}
1951+
}
19441952
zero_Interface.gr_simulateYear.setVisible(false);
19451953
zero_Interface.gr_loadIconYearSimulation.setVisible(false);
19461954
zero_Interface.b_resultsUpToDate = true;

_alp/Agents/tabEHub/Levels/Level.level.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ zero_Interface.uI_Results.f_showCorrectChart();
469469
<Y>-10</Y>
470470
</Label>
471471
<PublicFlag>true</PublicFlag>
472-
<PresentationFlag>false</PresentationFlag>
472+
<PresentationFlag>true</PresentationFlag>
473473
<ShowLabel>false</ShowLabel>
474474
<DrawMode>SHAPE_DRAW_2D</DrawMode>
475475
<EmbeddedIcon>false</EmbeddedIcon>

0 commit comments

Comments
 (0)