Main work flow |
|
<< Click to show table of contents >> Navigation: Connection to Plant Simulation >
|
In case all necessary libraries are available within the Plant Simulation model and all necessary steps for integrations are completed, following steps are necessary to integrate a Plant Simulation model into the SimUI work flow
|
Note for prerequisite: •Base64.exe is is required within the same windows folder as the plant simulation model to transform icons into text-form (*SimUI-Export is JSON-based) •Toolbox has been defined •Simulation Results have been defined (necessary for Simulation Run, not for SimUI-Project-Export) |
1. Export *.simui-project file from Plant Simulation
•Button Export Model Network as SimJSON within SimJSONCtrl in the root frame of the model (instance)
•*.simui-file will be created and saved in subfolder PlantSimUIExport, relative to the Plant Simulation Model File location
2. Import *.simui-project file into front end
•Project-list -> new project -> import project -> select *.simui-file
3. Copy Plant Simulation model *.spp to the App-Folder of the SimController
4. Adjust the configuration of the SimController
•Config-File settings.json (or through the SimController-Web-Interface)
•Path within settings: settings -> apps -> plant simulation -> models
•Different models definitions are used to distinguish between plant simulation models when simulation jobs are triggered from SimUI frontends (with possibly different toolboxes)
oDifferent Plant Simulation Models automatically executed at the server based on input
•If in SimJSONExport v_bUseModelSpecificSimulationToControllerInterface = true (recommended for UpdateNetwork-Mode):
•Add an entry for the specific model:
o<SimModelName>_api<apiVersion>: “<SimModelName>.spp”
owith:
▪<SimModelName> as name of plant simulation model; this is also automatically encoded in the project file at the time of the SimUI file export
▪<apiVersion> is a definable version number in case of model iterations;
▪v_sModelSpecificSimModelVersion within SimJSONExport (SimJSONCtrl)
© SimPlan AG - Hanau District Court, Commercial Register (Part B) 6845 - info@simplan.de - www.simplan.de