VeSyMA CloudSim for web-app is a single page application which dynamically updates result data in the html page while the user interacts with web-app. It is a Claytex in-house built tool and uses Amazon AWS Serverless resources; e.g. Cognito, Lambda functions, API Gateway, S3 bucked, DynamoDB.
Figure 1 – a: Login page for VeSyMA CloudSim for web-app, b: Amazon Cognito user pool and identity pool used together.
VeSyMA CloudSim for Web-app uses Amazon Cognito to provide authentication and authorization. Only authenticated users can upload data on S3 bucket and DynamoDB database.
The exported FMUs from Dymola or Simulink can be loaded in AWS in JSON format using web-app. VeSyMA CloudSim for web-app uses API Gateway to trigger lambda function to either store/get data from DynamoDB or calculate the simulation result for different FMUs. The user can select a particular FMU from the list shown in figure 2 for simulation.
Figure 2: List of uploaded FMUs.
In Parameterization setup page shown in figure 3 the user can modify the parameters and run the simulation.
Figure 3: Parameterization setup page.
The user can see all the simulation related to the particular FMU by clicking on History button shown in figure 2.
Figure 4: History diagram
In Analysis page shown in figure 4 each circle represents the simulation date and time. It is possible to select multiple FMU data simulation and analyse the result by pressing the Analyse button. The result can be analysed by using chart plot shown in figure 5 (standard plot) and figure 7 (custom plot) or in table format in figure 6.
Figure 5: Standard Plots
Figure 6: Standard table metrics
Figure 7: Custom Plots
Written by: Vesel Haxha – Senior Developer
Please get in touch if you have any questions or have got a topic in mind that you would like us to write about. You can submit your questions / topics via: Tech Blog Questions / Topic Suggestion.