#region import existing model and measurement data rootPath = "D:\\scripting\\" # Import of csv (station data) csvPath = rootPath + "waterLevel_at_3_Measured.csv" measuredTimeSeries = ImportCsvTimeSeries(csvPath, "Time", "Value" ,"dd-MMM-yy HH:mm:ss") measuredTimeSeries.Components[0].Name = "Measured time series" modelPath = rootPath + "SW_max.lit\\2\\" # Import SOBEK 2.13 model (Maas) model = ImportSobek2Model(modelPath + "NETWORK.TP",False,True,False,False) RootFolder.Add(model) waterFlowModel = GetItemByName(model.Models, "water flow 1d") waterFlowModel.Network.CoordinateSystem = Map.CoordinateSystemFactory.CreateFromEPSG(28992) #RD new OpenModelMapViewWithBackground(model) #endregion