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

Revision/rename nominal value #1114

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from
Open

Conversation

p-snft
Copy link
Member

@p-snft p-snft commented Aug 22, 2024

I think, the capacity of a Flow (e.g. a power line) is actually easier to interpret as the "nominal value". Actually, I have been asked that quite some times. If we have a nominal_capacity of a Flow, it would be arguable why it's nominal_storage_capacity for the GenericStorage. So we need to say either nominal_flow_capacity which is actually redundant. In my opinion, it makes sense to call both nominal_capacity.

In fact, they are quite similar. In particular, they both accept a number (fixed capacity) or an Investment object.

I still have to keep explaining people what the nominal_value is
meant for and they just understand if I name it nominal_capacity,
instead. Reflecting a bit, the capacity of a Flow (e.g. a power line)
is easier to interpret as the "nominal value". Thus the refactoring.
This way, it is analogue to teh keyword of the Flow.
@p-snft p-snft linked an issue Aug 22, 2024 that may be closed by this pull request
@p-snft p-snft self-assigned this Aug 22, 2024
@p-snft p-snft added this to the major release milestone Aug 22, 2024
@p-snft p-snft marked this pull request as ready for review August 22, 2024 14:16
@p-snft p-snft requested a review from a team August 27, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename "nominal_value" of Flow
1 participant