Skip to content

Rule driven scheduling of cyclic activities for in-depth comparison of alternative operating strategies.

License

Notifications You must be signed in to change notification settings

TUDelft-CITG/OpenCLSim

Repository files navigation

CircleCI

Coverage Documentation License: MIT

Hydraulic-Infrastructure-Realisation

  • Documentation can be found: here

Features

Complex Logistics Simulation - Rule based planning of cyclic activities and in depth comparison of different system concepts

Example notebooks:

  • Example 01 - Basic Hopper Operation - Example of a trailing suction hopper dredge shipping sediment from origin to destination site.
  • Example 02 - Fuel Use - Example of estimating fuel use on a project by keeping track of energy useage for each step of the production cycle.
  • Example 03 - Tracking Spill - Example of a project where sediment spill limits influence project progress.
  • Example 04 - Building a Layered Dike - Example of a construction challenge, with four separate activites, where each activity depends on the progress of the other activities.
  • Example 05 - Basic Hopper Operation on route - Example of a trailing suction hopper dredge shipping sediment from origin to destination site while following a graph path.
  • Example 06 - Container Transfer Hub - Example of a container transfer hub, where very large container vessels deliver containers, while smaller vessels take care of the distribution to the hinterland. Traffic follows a graph path.
  • Example 07 - Rebuild simulation from file - Example of saving the simulation environment to a file. The code from example 01 is used, but savesim.py is introduced, which allows saving all parameters to a .pkl file, from which an exact copy can be simulated.

Installation

Installation using pip install digital_twin is not yet available. Running following three lines in your command prompt will allow you installing the package as well:

# Download the package
git clone https://github.com/TUDelft-CITG/Hydraulic-Infrastructure-Realisation

# Go to the correct folder
cd Hydraulic-Infrastructure-Realisation

# Install package
pip install -e .

Start server

# Set Flask app
set FLASK_APP=digital_twin/server.py

# Set Flask environment
set FLASK_ENV=development

# Run Flask
flask run

Run app

Once the the Flask server is running and serving, you can start the Vue application.

# Go to correct folder
cd app-Hydraulic-Infrastructure

# Run app
npm run serve

Deploy to AWS

pip install --upgrade awsebcli
eb init
eb deploy