Updates

MECSYCO and website updates!

Website updates

  • Adding a link to the news section on the headers!
  • Getting Started 2 changed:
    • Add of an examlpe with MECSYCO-world-fmi and the multilpexer
    • Since it became longer, add of a table of content
    • For the same reason, each chapter are color separated
  • Mecsyco-re compatible was removed from the Download section
  • Adding the Quick Start section (installation walkthrough)

MECSYCO updates

  • MECSYCO-re 2.0.1
    • Add of the multiplexer package in the coupling package, it contains:
      • the AggregationMultiplexer, the object to use as the multiplexer
      • the AggregationOperation, the class to extend in order to create the operation your multiplexer will do
      • SumAggregationOperation, an AggregationOperation that sum real output
      • VectorStateAggregationOperation, an AggregationOperation that create a SimulVector out of all outputs connected to the multiplexer
      • XYStateAggregationOperation, an AggregationOperation that create a Tuple2 out of the two reals outputs connected to the multiplexer
      • XYStateAggregationOperation, an AggregationOperation that create a Tuple3 out of the three reals outputs connected to the multiplexer
    • Add Utils, a class that contains functions in order to simplify the way we connect agent:

// connect two agents using the same port name for input and output
Utils.connect(EventMAgent source, EventMAgent target, String portName);

// connect two agents using the different port name for input and output
Utils.connect(EventMAgent source, EventMAgent target, String sourcePortName, String targetPortName)

// connect two agents using multiple link 
Utils.connect(EventMAgent source, EventMAgent target, String[] portNames)
Utils.connect(EventMAgent source, EventMAgent target, String[] sourcePortNames, String[] targetPortNames)

//connect multiple agent to one by using a multiplexer (multiplexer's inputs named by default)
Utils.connect(EventMAgent[] sources, String[] sourcePortNames, 
        AggregationMultiplexer multiplexer, EventMAgent target, String targetPortName)

//connect multiple agent to one by using a multiplexer 
Utils.connect(EventMAgent[] sources, String[] sourcePortNames, String[] MultiplexerPortNames,
              AggregationMultiplexer multiplexer, EventMAgent target, String targetPortName)

//connect multiple agent to an observing agent by using a multiplexer 
Utils.connect(EventMAgent[] sources, String[] sourcePortNames, 
               AggregationMultiplexer multiplexer, ObservingMAgent target, String targetPortName)
			
//connect agent to an observing agent
Utils.connect(EventMAgent source, ObservingMAgent target, String portName)
Utils.connect(EventMAgent source, ObservingMAgent target, String sourcePortName, String targetPortName)
Utils.connect(EventMAgent source, ObservingMAgent target, String[] portNames)
Utils.connect(EventMAgent source, ObservingMAgent target, String[] sourcePortNames, 
              String[] targetPortNames)

Code : Parameters of the simulation
  • MECSYCO application 2.0.1
    • Add of the getting started 2 full correction
    • Correction on some launcher
    • Add obsolete folder
    • Add LauncherMultAndutils package, it contains example using the Utils package and the new multiplexer
  • MECSYCO-visu
    • Correction on live Bar and Pie chart, the slide bar at the end of the simulation was missing
    • Add the link to our web site to all windows
  • MECSYCO-world-fmi
    • Two jars instead of one in order to seperate the one using JavaFmi 2.16 and the one using the latest version
    • Correction on the operation BooleanToDouble
    • Adding java docs
  • Getting Started
    • Remove the maven component
  • All package
    • templates are taken out of the jars, to get them go to the Documentation section