-
Notifications
You must be signed in to change notification settings - Fork 195
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
CoilCoolingDXMultiSpeed has methods to add stages, but none to remove stages #3990
Comments
IDD should also add |
(availablitySchedule should have been non optional).
Here's an example:
Now remove dx2, and it deletes the stage in dx too:
Anyways, this is probably besides the scope of this issue, so I'm going to leave it as is otherwise I'd have to modify a bunch of methods like clone, which may be surprising to users. OpenStudio/src/model/CoilCoolingDXMultiSpeed.cpp Lines 304 to 313 in c710464
|
Well actually I think making it a ParentObject was the right call given this: OpenStudio/src/model/CoilCoolingDXMultiSpeedStageData.cpp Lines 452 to 463 in c710464
I suppose the issue is that a |
* Add methods to remove stages, set by vector etc * Constrain the number to maximum 4 stages per E+ * Ensure that a CoilCoolingDXMultiSpeedStageData can only be added to ONE CoilCoolingDXMultiSpeed * When a CoilCoolingDXMultiSpeedStageData is removed, delete the corresponding extensible group in CoilCoolingDXMultiSpeed if any
Fix #3990 - Add an API to CoilCoolingDXMultiSpeed to add/remove stages
Issue overview
CoilCoolingDXMultiSpeed has methods add stages, but none to remove stages
void addStage(CoilCoolingDXMultiSpeedStageData& stage);
Current Behavior
The API lets you add stages, but not remove them.
OpenStudio/src/model/CoilCoolingDXMultiSpeed.hpp
Line 136 in f339397
Expected Behavior
You should be able to remove stages.
Environment
Some additional details about your environment for this issue (if relevant):
Context
Found in #3987 (comment)
The text was updated successfully, but these errors were encountered: