Closed FLO-2DKaren closed 4 months ago
Hi Robson,
The date field is not necessary. It can be NULL
I think we do need the hours:min for the time field because that's what all my projects show.
In the import export code, we can import inp files with a time series that has no date.
Do you want to modify the tables so that field is not necessary?
Done! @FLO-2DJJ, you were right about the SU tables. I fixed them. Please, merge it if everything is looking good.
We need to figure out the best way to synchronize data and time (INP) with SIMUL (CON.DAT) and external BC (INP). In previous versions of the plugin, we grayed date and time out in the INP. The plugin calculated end date and time internally as the current date and zero time (START date and time) + simul time. This was exported to the SWMM.INP in the fields for start date and time and end date and time.
Issues with this hardwired synchronization, the BC tables for external flow also use date and time, and they need to be synchronized to the date and time from the INP to correctly impose them during runtime. I spent a lot of time reviewing this for previous plugins, and analyzing the potential different scenarios, and at that time we decided the best option was to use SIMUL from CON.DAT file, use current date and zero time (START date and time in INP), and calculate end date and time using SIMUL, the user needs to adjust BC to match the date and time. We can use a different approach if you want but just be aware of the ramifications of this issue.
On Tue, May 14, 2024 at 2:09 PM Karen @.***> wrote:
Hi Robson,
The date field is not necessary. It can be NULL
I think we do need the hours:min for the time field because that's what all my projects show.
In the import export code, we can import inp files with a time series that has no date.
Do you want to modify the tables so that field is not necessary?
— Reply to this email directly, view it on GitHub https://github.com/FLO-2DSoftware/qgis-flo-2d-plugin/issues/1314#issuecomment-2110828187, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE32O3Q4NPGPBDPM2MUBME3ZCJHOTAVCNFSM6AAAAABHUDNYBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJQHAZDQMJYG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@FLO-2DNoemi We are addressing that on issue #1141 .
I'm going to close this issue and add Noemi's comment to https://github.com/FLO-2DSoftware/qgis-flo-2d-plugin/issues/1141
https://github.com/FLO-2DSoftware/qgis-flo-2d-plugin/assets/20424460/cad06f2a-57d2-49f9-9b80-2dc552539230