PN4ECSS
Petri Net for Electric Car-Sharing System (ECSS).
Background
Implementation of the ECSS Petri Net model described in this paper (shown as below) in Modelica.
Environments
Model Description
The implementation implemented "The City" subnets, but only two of them (left part), for some simplicity.
The "Commercial and Industrial Center" subnets has been also implemented (right part).
With this model my computer runs already very slow 😑
There are two Modelica models
-
CarSharing.mo
is the model of a subnet of "The City" part. -
CarSharingSystem.mo
is the model of the whole ECSS system.
This model generates some stochastic user (demands), you can simulate:
- how many cars are in use,
- how many cars are charging thus not available,
- how many cars finished charging and are ready for being rent,
- how many users don't have a car available so they just leave,
- etc.
Here you will find a gif to visualize the simulation result.