def METHOD_NAME():
    """Test two simple but dependent models."""
    path = Path(os.path.dirname(__file__)) / "models" / "two-dependent-sub-models"
    multi_model = MultiModel.load(path / "integrated-model.json")
    sub_model2 = multi_model.models["model2"]
    supply2 = sub_model2.nodes["supply2"]
    demand2 = sub_model2.nodes["demand2"]
    assert isinstance(supply2.max_flow, OtherModelParameterValueParameter)
    # Add recorder for flow
    demand2_rec = NumpyArrayNodeRecorder(sub_model2, demand2)
    # Demand should equal the inflow the model1
    expected_flow = pandas.read_csv(path / "timeseries1.csv", index_col=0)
    multi_model.run()
    np.testing.assert_allclose(
        multi_model.models["model1"].nodes["demand1"].flow[0], 10.0
    )
    np.testing.assert_allclose(demand2_rec.data, expected_flow)