Skip to content

Commit

Permalink
Fix test to use user provided time for parent flowsheet
Browse files Browse the repository at this point in the history
  • Loading branch information
NishantGiridhar committed Oct 22, 2024
1 parent 891b857 commit c322abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idaes/core/base/tests/test_flowsheet_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def test_dynamic_nested_time(self):
m = ConcreteModel()
m.s1 = ContinuousSet(initialize=[4, 5])
m.s2 = ContinuousSet(initialize=[1, 2, 3])
m.fs = FlowsheetBlock(dynamic=True, time_units=units.s)
m.fs = FlowsheetBlock(dynamic=True, time=m.s1, time_units=units.minute)
m.fs.sub = FlowsheetBlock(dynamic=True, time=m.s2, time_units=units.s)

assert m.fs.sub.config.dynamic is True
Expand Down

0 comments on commit c322abe

Please sign in to comment.