Skip to content

Conversation

@AteZenmo
Copy link
Collaborator

@AteZenmo AteZenmo commented Sep 29, 2025

For now I save the v_rapidRunData class of the initial run in every GC that has a p_detailedCompany (determined in the interface where the first headless run is called). This is then also stored as the v_originalRapidRun which is then never removed/changed again during the simulation.

This way it is possible to always create coops where the original GTO calculation is possible (if the selected companies support it at least).

For now, the entire v_rapidRunData class is stored (only for businesspark models and only for companies where owner is p_detailedCompany). This is a lot of additional stored data that is not used.

With that in mind, I was also considering maybe creating a 'light' rapidrundata version that only contains the balance flow electricity and some other needed parameters for the GTO chart.

However, I could also see the benefit of v_rapidRunData in its entirety so I am not sure on wanting to do that. For now I decided to go with the entire v_rapidRunData, as this is already supported and easy to implement. But: I would like to have a discussion with you guys about wheter we want to start creating/defining lighter v_rapidRunData classes for these purposes.

@GillisHommen
Copy link
Contributor

Is this v_originalRapidRun a clone of the rapidRunData, or just a pointer to? In the latter case, it doesn't necessarily add a lot of storage until you do at least 3 rapidRuns.

@AteZenmo
Copy link
Collaborator Author

Pointer

…ta, and capped getPeakFeedin/Delivery() to 0 (never negative). adjusted everything in model accordingly.

-> Now the getters do what they should do.
@AteZenmo AteZenmo merged commit ee32e3f into main Oct 3, 2025
1 of 2 checks passed
@AteZenmo AteZenmo deleted the GTO_chart_support branch October 3, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants