Skip to content
Snippets Groups Projects
Select Git revision
  • 9e46c6d711c36f809b85ff226e40c37e09bda89c
  • main default protected
2 results

pn4ecss

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.

ECSS

Environments

OpenModelica v1.22.3

PNlib v3.0.0

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.