diff --git a/idaes/core/base/tests/test_flowsheet_model.py b/idaes/core/base/tests/test_flowsheet_model.py index 8f8d6ff9d6..57094db2cf 100644 --- a/idaes/core/base/tests/test_flowsheet_model.py +++ b/idaes/core/base/tests/test_flowsheet_model.py @@ -422,6 +422,16 @@ def test_dynamic_nested_time_from_time_set(self): assert isinstance(m.fs.sub.time, ContinuousSet) assert m.fs.sub.time_units is units.s + @pytest.mark.unit + def test_dynamic_parent_time_indexed_ss_child(self): + m = ConcreteModel() + m.fs = FlowsheetBlock(dynamic=True, time_set = [1,2,3], time_units=units.s) + m.fs.sub = FlowsheetBlock(dynamic=False, time_set = [0, 1], time_units=units.dimensionless) + + assert m.fs.sub.config.dynamic is False + assert isinstance(m.fs.sub.time, Set) + assert m.fs.sub.time_units == units.dimensionless + @pytest.mark.unit def test_dynamic_external_time_invalid(self):