Amalgama platform Get started now Documentation Tutorials JavaDoc Contact us

Amalgama

    • Getting started
      • Getting access to Amalgama Platform libraries
      • Eclipse IDE installation
      • Creating a console application
      • Creating a desktop application
      • Show Javadocs in Eclipse
      • Architecture
    • Key concepts
      • Simulation Engine
      • Model time and date
      • State Machine
      • Interval sets
      • Piecewise functions
      • Monitored value
      • Queues and services
      • Graph agents
      • Discrete rate
      • Logging
      • Rate planner
    • Libraries
      • Graph Agent Library
      • Long Agent Library
      • Discrete Rate Library
      • Cranes Library
    • Desktop UI
      • Charts
      • Visual sets
      • Excel-based tabular data editing
    • Tutorials
      • Supply Chain Simulation Tutorial
        • Part 1. Simple Supply Chain Model
          • Step 1: Create a basic console application
          • Step 2: Real-world input data (scenario)
          • Step 3: Simulation classes
          • Step 4: Running the first experiment
          • Step 5: Transportation request generation
          • Step 6: Adding Trucks and TransportationTasks
          • Step 7: Assigning requests to trucks
          • Step 8: Statistics calculation
          • Step 9: Finding the best equipment configuration
          • Final notes
        • Part 2: Adding Road Network
          • Step 1: Adding road network and resources to Scenario
          • Step 2: Adding road graph and asset classes to the simulation model
          • Step 3: Turning a Truck into a GraphAgent
          • Step 4: Take initial model data from a file
          • Step 5: Run scenario comparison
          • Final notes
        • Part 3: Adding User-friendly Interface
          • Step 1: Create a GUI application with the application wizard
          • Step 2: Migrate Scenario-related Java classes into an EMF datamodel
          • Step 3: Editing overview
          • Step 4: Add new editors
          • Step 5: Migrate the simulation model logic
          • Step 6: Upgrade map animation
          • Step 7: Show summary statistics updated in real time
          • Step 8: Add Gantt Chart
          • Step 9: Show trucks in table view
          • Step 10: Show task list
          • Final notes
        • Part 4: Web Service
          • Step 1: Create a Spring application
          • Step 2: Run server-side simulation
          • Step 3: Simulate custom scenarios
          • Step 4: Run the application inside a Docker container
          • Final notes
        • Part 5: Web Application
          • Step 1: Run server-side simulation asynchronously
          • Step 2: Create a basic frontend application
          • Step 3: Application-specific set-up
          • Step 4: Add React components
          • Step 5: Bring components together
          • Step 6: Deployment
          • Final notes
      • Warehouse Tutorial
        • Step 1: Develop a Data Model
        • Step 2: Introduce a Forklift Entity to the Simulation Model
        • Step 3: Pallet Position Simulation
        • Step 4: Pallet-aware environment
        • Step 5: Cargo Moving Task
        • Step 6: Idling Task
        • Step 7: Gantt Chart
        • Step 8: Trucks, Gates & Dispatching tasks
        • Step 9: Queues and ServiceWithResources
        • Step 10: Queuing IdlingTasks
        • Step 11: Storage areas. Reserving places
        • Step 12: Main Storage Area
        • Step 13: Avoiding obstacles. Recalculate routes on the fly.
        • Step 14: Statistics: Collect & Display
      • Warehouse Fast Track Tutorial
        • Step 1: Setup and create a project
        • Step 2: Datamodel, forklift shape, pallet positions
        • Step 3: Move cargo
        • Step 4: Cargo arrival & departure
  • Amalgama
  • Tutorials
  • Supply Chain Simulation Tutorial
  • Part 1. Simple Supply Chain Model
  • Step 1: Create a basic console application

Step 1: Create a basic console application

Create a basic console application. Compile and run the application to be sure that it works.

We will start from this template and build up our simulation model gradually.

Open the application in an IDE of your choice.

Create a new package tutorial, then move the Main class into that package.

Part 1. Simple Supply Chain Model Step 2: Real-world input data (scenario)

This page was built using the Antora default UI.

The source code for this UI is licensed under the terms of the MPL-2.0 license.