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

1407 add swimming pool model #1414

Merged
merged 40 commits into from
Jul 18, 2023
Merged

Conversation

larissakuehn
Copy link
Contributor

This merge request adds a pool model incl. water treatment circuit into the fluid package as described in #1407:
--> AixLib.Fluid.Pool

This also includes a baseRecord and two corresponding records for a sports and a children's pool. Furthermore, there are records for pool walls so that different layers can be easily parameterized.
--> AixLib.DataBase.Pools

There are also two examples showing the usage with and without ideal heating.
--> AixLib.Fluid.Pool.Examples

@larissakuehn larissakuehn self-assigned this Nov 30, 2022
@larissakuehn larissakuehn linked an issue Nov 30, 2022 that may be closed by this pull request
Copy link
Member

@alexanderAKU alexanderAKU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Why do you need the OndoorSwimmingPoolDummy record? If it's not needed. you can delete it.
  • the BaseRecord contrains names with camelCase and also some names with _ (e.g. use_HRS). Please use the naming convention: naming scheme
  • The WallDummy is not used as well? Please delete if not needed.
  • I suggest to delete the package: TypesOfIndoorSwimmingPools and move the record one level up (similar to other record packages), or move the BaseRecord to the same folger
  • rename the record IndoorSwimmingPoolBaseRecord to IndoorSwimmingPoolBaseDataDefinition
  • Rename package fluid.pool to fluid.pools (analog to movers, heatpumps, etc.)
  • Add a short description for the parameter WallBaseDataDefinition in the model HeatTransferCondution
  • General remark: check if all parameters that should't be changed are 'final'
  • IndoorSwimmingPool: add a parameter for the added water temperature in the component 'bou'
  • IndoorSwimmingPool: propagate the parameter massDynamics
  • Add a simulate_and_plot script for the two examples
  • fix the initial conditions in the example indoorSwimmingPoolExternalHeatingSystem
  • Add a short description for the examples

extent={{9,-9},{-9,9}},
rotation=180,
origin={-81,41})));
AixLib.Fluid.HeatExchangers.ConstantEffectiveness HeatExchanger(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

start with lower case letters

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

redeclare package Medium2 = WaterMedium,
m1_flow_nominal=poolParam.m_flow_out*1.5,
m2_flow_nominal=poolParam.m_flow_out,
dp1_nominal(displayUnit="bar") = 100000,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this pressure drop seems quite high to me

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for noticing, that was just a dummy... Changed it to 20kPa now!

@larissakuehn
Copy link
Contributor Author

@alexanderAKU:
I have implemented most of your comments.

At some points I'm still not sure about the naming convention, e.g.the AixLib naming convention does not provide any information on the use of Booleans. In many AixLib models and also current IBPSA implementations for Boolean variables "use_" is used, therefore I decided on this approach, too.

alexanderAKU
alexanderAKU previously approved these changes May 4, 2023
@larissakuehn
Copy link
Contributor Author

@alexanderAKU I have added a new Icon for the pool package, so the model is ready to be merged in my optinion. Could you approve this once again? Thanks!

@larissakuehn larissakuehn merged commit cd4a0b5 into development Jul 18, 2023
@larissakuehn larissakuehn deleted the 1407-add-swimming-pool-model branch July 18, 2023 07:56
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.

Add swimming pool model (incl. water handling units)
2 participants