Skip to content

[Bug] Embedded failures break local balance #283

@pierre-eliep-met

Description

@pierre-eliep-met

Describe the bug

Several components (Pipes, all heat exchangers) can be declared as faulty, giving access to some failure modes (fouling, water_level_rise, etc.)
But currently, those failure modes are used in the model as :

if not faulty then
  fouling = 0;
end if;

Which means that in a faulty=true model, each failure variable should be declared as a connector input, right ? How can we take that into account ?

Additional context

I tried to define a fouling class, with only one connector input, fouling, and extend this class in Pipe for instance but it did not solve the local balance issue...

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

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions