Skip to content

[Refacto]: Cuts (PressureCut, FlowCut, HeatCut) should be in a dedicated Medium.Cuts #272

@pierre-eliep-met

Description

@pierre-eliep-met

Is your refactoring request related to a problem? Please describe.
Currently we have separate components that are not very easy to read to cut a quantity propagation :

  • HeatLoss to cut enthalpy/temperature propagation
  • PressureCut for pressure
  • LoopBreaker for flow

Describe the solution you'd like
This should be more uniform, and not in pipes but in a dedicated package like WaterSteam.LoopBreakers or WaterSteam.QuantityCuts and then

  • HeatCut or HeatLoopBreaker to cut enthalpy/temperature propagation
  • PressureCut or PressureLoopBreaker for pressure
  • FlowCut or FlowLoopBreaker for flow

To be checked by issue author

  • I checked that this issue is not a duplicate
  • I added the appropriate labels to my issues
  • I added the appropriate assignees to my issue
  • I linked the related issues in the description of my issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions