Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract modification of system into separate function #28

Open
josephmckinsey opened this issue Nov 18, 2024 · 0 comments
Open

Extract modification of system into separate function #28

josephmckinsey opened this issue Nov 18, 2024 · 0 comments

Comments

@josephmckinsey
Copy link
Collaborator

  • Changing a PRAS.SystemModel is immutable
  • We modify the System in several ways
    • Lump renewable generators
    • Add default data
    • Set unit system (can warn in main code)

In general, we should avoid any modification of the system in the main simulation functions, and if not convenient,
separate this code into a separate function.

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

No branches or pull requests

1 participant