File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -197,6 +197,10 @@ Public MustInherit Class Sim
197197 'Simulationsdaten einlesen
198198 Try
199199 Call Me .Read_SimParameter()
200+
201+ Log.AddMessage(levels.info, $"Simulation period: {Me.SimStart} - {Me.SimEnde}" )
202+ Log.AddMessage(levels.info, $"Simulation timestep: {Me.SimDT.Minutes} minutes" )
203+
200204 Catch ex As Exception
201205 Throw New Exception( "Unable to read simulation parameters!" & Constants.eol & ex.Message)
202206 End Try
Original file line number Diff line number Diff line change @@ -172,6 +172,8 @@ Public Class Talsim5
172172 ''' </summary>
173173 Protected Overrides Sub Read_SimParameter()
174174
175+ Log.AddMessage(levels.info, $"Talsim5 database: {Me.DBFile}" )
176+
175177 'Show Talsim5 settings dialog
176178 Dim dlg As New TALSIM5_Dialog( Me .DBFile)
177179 If dlg.ShowDialog() <> Windows.Forms.DialogResult.OK Then
@@ -182,6 +184,10 @@ Public Class Talsim5
182184 Me .simulationId = dlg.SelectedSimulation.Id
183185 Me .timeseriesPath = dlg.TimeseriesPath
184186
187+ Log.AddMessage(levels.info, $"Selected scenario id: {Me.scenarioId}" )
188+ Log.AddMessage(levels.info, $"Selected simulation id: {Me.simulationId}" )
189+ Log.AddMessage(levels.info, $"Selected timeseries path: {Me.timeseriesPath}" )
190+
185191 'read simulation start and end from database
186192 Using connection As New SqliteConnection( $"Data Source={Me.DBFile}" )
187193 connection.Open()
You can’t perform that action at this time.
0 commit comments