nens / servicedesk-issue-only

This repository will be used primarily by the service desk to report issues which will then be moved by the teamleads
0 stars 0 forks source link

[3Di]: Use save as Simulation template (live site) in Modeller Interface with time ran from simulation (live site) #161

Open GeOdin opened 1 year ago

GeOdin commented 1 year ago

Contact Details

No response

Topdesk URL (API)

https://nelen-schuurmans.topdesk.net/tas/secure/contained/incident?unid=b15ec1c9-b385-4c06-8baf-1fcc55c24896

Incident Type

Error

What priority should we assign to this submission?

Prio2 Urgent

3Di component

Livesite

What happened?

Starting a model on the live site > running it > and saving it as a template > start from modeller interface

The running time (how long the model ran) is not set when saving the template on the live site. This causes the model to (probably use the max time?) when loading in the Modeller Interface. And this could cause customers to run out of calculation time easy when they do not know it.

How to Reproduce?

Go to https://www.3di.live/ Start a model -> (een template obv) deze simulatie: grevelingenmeer - grevelingen_breach (2) #10_2023-01-24T223319 stopped after 48h Quit Simulation > Save as simulation template If I use the template to start a simulation from the Modeller Interface, I see that the simulation takes 99 years instead of 48h

This simulation: grevelingenmeer - grevelingen_breach (2) #10_2023-01-24T223319

What did you expect and what was the actual result?

No response

Add screenshots, video's etc

No response

Relevant log output

No response

Additional info

English below

Comment van Stijn: Bedankt voor je ticket.

Ik kan het zelf niet herproduceren want ik krijg een foutmelding op het moment dat ik op de knop 'Save as Template' klik (zie afbeelding). Wat verder opvalt is dat inderdaad tussen de start en einddatum 99 jaar zit, maar de duration op 0s staat in de management schermen. Er gaan hier dus nog meerdere dingen mis.

Ik denk dat het probleem is dat je bij het creëren van een simulatie normaal gesproken de duur instelt, maar bij het simuleren via de LiveSite dit vooraf nog onbepaald blijft. Vandaar dat de einddatum 'oneindig' veel later wordt ingesteld. Je zou mogelijkerwijs bij het endpoint 'shutdown' de duration opnieuw moeten kunnen aanpassen.

Wel belangrijk om aan te passen, zodat gebruikers niet per ongeluk 99 jaar gaan zitten door te rekenen, vanuit hun opgeslagen template.

Ik ga dit donderdag voorleggen bij het 3Di team.

Madeleine: Wat verder opvalt is dat inderdaad tussen de start en einddatum 99 jaar zit, maar de duration op 0s > dit komt denk ik omdat de template start vanaf 0s (ook op de live site) Is het mogelijk om de tijd waarop je de simulatie stopt om er een template van te maken zet op de eindtijd? Of om een extra property toe te voegen waarin de eindtijd van de simulatie wordt meegenomen zodat die in de modeller interface gebruikt kan worden?

Alvast bedankt!

Good luck! :)

=========

Comment from Stijn: Thank you for your ticket.

I can't reproduce it myself because I get an error message when I click the 'Save as Template' button (see image). What is also striking is that there are indeed 99 years between the start and end date, but the duration is set to 0s in the management screens. So there are several things going wrong here.

I think the problem is that when creating a simulation you normally set the duration, but when simulating via the LiveSite it remains undetermined beforehand. Hence the end date 'infinite' is set much later. You should possibly be able to adjust the duration again at the endpoint 'shutdown'.

It is important to adjust, so that users do not accidentally end up calculating 99 years from their saved template.

I will present this to the 3Di team on Thursday.

Madeleine: What is also striking is that there is indeed 99 years between the start and end date, but the duration is 0s > I think this is because the template starts from 0s (also on the live site) Is it possible to set the time at which you stop the simulation to make a template to the end time? Or to add an extra property that includes the end time of the simulation from the live site so that it can be used in the modeler interface?

Thank you in advance!

Good luck! :)