Simulation run for table updates


<< Click to show table of contents >>

Navigation:  Connection to Plant Simulation >

Simulation run for table updates


It is possible to trigger a simulation run to update tables in the front end master/main alternative.

With this mode, a regular simulation run is triggered with the simulation job parameter “updateTableGridValues” = true (t_SimJSON_SimJOB_GeneralAttributes within SimJSONImport in SimJSONCtrl).

When the front end sends this parameter, all given objects and parameter are at first set and applied.

Afterwards, for each table attribute, the user-method mUserUpdateTableData (incl. table reference and identifying parameter) is called and to trigger the update of this one single table.

The user would be responsible for the update (e.g. through DB-Update per SQL-Call or similar).

To complete the simulation run, the end of the event controller is set to 1s and the start is triggered.

At the end, no simulation results are gathered (defined method in v_oExtMethod_ResultStatDefAndCollection within SimJSONCtrl is also not called).

 

In addition, the imported structured JSON file is updated for every table attribute with the values these tables currently hold (e.g. after updating them after parameter application, before init).

This combined simulation result (coded front end data with updated tables, no result data and result view definition) will be integrated into the front end project.

 

 


© SimPlan AG - Hanau District Court, Commercial Register (Part B) 6845 - info@simplan.de - www.simplan.de