What
Allow simulation engine inputs to be created without uploading them to the server or touching the ScenarioList/ExecuteList files.
Why
- For use with the simulation engine in a 'manual' mode (not controlled by PowerSimData)
- To improve testability of the input generation process
How
- Refactor
prepare_mpc_file method of powersimdata.scenario.execute.SimulationInput to remove the matfile copy/upload step.
- This can be moved into the
prepare_simulation_input method of powersimdata.scenario.execute.Execute.
- Similarly, refactor the
prepare_profile method of powersimdata.scenario.execute.SimulationInput to separate the logic for determining whether and how to prepare profiles from the process of copying/uploading them and/or creating symlinks.
What
Allow simulation engine inputs to be created without uploading them to the server or touching the ScenarioList/ExecuteList files.
Why
How
prepare_mpc_filemethod ofpowersimdata.scenario.execute.SimulationInputto remove the matfile copy/upload step.prepare_simulation_inputmethod ofpowersimdata.scenario.execute.Execute.prepare_profilemethod ofpowersimdata.scenario.execute.SimulationInputto separate the logic for determining whether and how to prepare profiles from the process of copying/uploading them and/or creating symlinks.