ORCHESTRATOR: "MOSAIK" # Choose between MOSAIK/HELICS
SCENARIO SCHEMA YAML:
 SCENARIO CONFIGURATION:
  - SCENARIO_NAME: "Case_one"
  - START_DATE: '1388534400'
  - DAYS: 7
  - BROKER_HOST: "192.168.236.69"
  - BROKER_PORT: "73100"
  - BROKER_NAME: broker
  - BROKER_KEY: "MosaikHelicsTesisJGRV"
  - NUMBER: 1
 SIMULATORS CONFIGURATION:
  Simulator:
   - SIMULATOR_NAME: "HouseholdSim"
     API_MOSAIK: "mosaik_householdsim"
     API_HELICS: "hhsim_api"
     RUN PROCESS:
      - MODE_RUN: "connect"
      - MODE_RUN_HELICS: "python"
      - HOSTPORT: "192.168.236.186"
      - PORT : "13200"
     PARAMETERS:
      - metadata : Full # Must be Empty in case the simulator need to write the metadata
      - stepTime: 60
      - timeAdvance: 0
     MODELS:
      - MODEL_NAME: ResidentialLoads
        NUMBER: 10
        Model_instance:
         - INSTANCE_NAME: "ResidentialLoads"
         - PARAMS_NAME: ""
         - OPT_METHOD: "children"
   - SIMULATOR_NAME: "PyPower"
     API_MOSAIK: "mosaik_pypower"
     API_HELICS: "pypower_api"
     BROKER_KEY: "MosaikHelicsTesisJGRV"
     RUN PROCESS:
      - MODE_RUN: "connect"
      - MODE_RUN_HELICS: "python"
      - HOSTPORT: "192.168.236.186"
      - PORT : "32300"
     PARAMETERS:
      - metadata : Full # Must be Empty in case the simulator need to write the metadata
      - step_size: 60
      - timeAdvance: 60
     MODELS:
      - MODEL_NAME: Grid
        NUMBER: 1
        Model_instance:
         - INSTANCE_NAME: "Grid"
         - PARAMS_NAME: ""
         - OPT_METHOD: "children"
   - SIMULATOR_NAME: "CSV"
     API_MOSAIK: "mosaik_csv"
     API_HELICS: "PV_api"
     BROKER_KEY: "MosaikHelicsTesisJGRV"
     RUN PROCESS:
      - MODE_RUN: "python"
      - MODE_RUN_HELICS: "python"
      - HOSTPORT: "192.168.236.69"
      - PORT : "38500"
     PARAMETERS:
      - metadata : Full # Must be Empty in case the simulator need to write the metadata
      - sim_start: '1388534400'
      - datafile: 'pv_10kw.csv'
      - stepTime: 60
     MODELS:
      - MODEL_NAME: "PV"
        NUMBER: 10
        Model_instance:
         - INSTANCE_NAME: "PV_create"
         - PARAMS_NAME: "PV_create"
         - OPT_METHOD: "create"
   - SIMULATOR_NAME: "MosaikHdf5" # Esta diferente al YAML de Helics, xq? En YAML Helics es DB en YAML Mosaik es MosaikHdf5 
     API_MOSAIK: "mosaik-hdf5"
     API_HELICS: "hdf5_api"
     BROKER_KEY: "MosaikHelicsTesisJGRV"
     RUN PROCESS:
      - MODE_RUN: "cmd"
      - MODE_RUN_HELICS: "python"
      - HOSTPORT: "192.168.236.69"
      - PORT : "43600"
     PARAMETERS:
      - metadata : Full # Must be Empty in case the simulator need to write the metadata
      - step_size: 60
      - duration: 2
      - timeAdvance: 60
     MODELS:
      - MODEL_NAME: "DB"
        NUMBER: 1
        Model_instance:
         - INSTANCE_NAME: "Database"
         - PARAMS_NAME: ""
 CONNECTIONS:
  - CONECTOR_NUMBER: 1
    TYPE: "Many to One"
    TOTAL_AMOUNT: 1
    TOTAL_PUB: 1
    TOTAL_SUB: 1
    FROM: ResidentialLoads
    TO: DB
    ATTRIBUTES:
     - ATTR: 'P_out'
  - CONECTOR_NUMBER: 2
    TYPE: "Nodes Many to One"
    TOTAL_AMOUNT: 1
    TOTAL_PUB: 1
    TOTAL_SUB: 1
    FROM: Grid
    TO: DB
    ATTRIBUTES:
     - ATTR: 'P'
     - ATTR: 'Q'
     - ATTR: 'Vl'
     - ATTR: 'Vm'
     - ATTR: 'Va'
  - CONECTOR_NUMBER: 3
    TYPE: "Many to One"
    TOTAL_AMOUNT: 1
    TOTAL_PUB: 1
    TOTAL_SUB: 1
    FROM: PV
    TO: DB
    ATTRIBUTES:
     - ATTR: 'P'
  - CONECTOR_NUMBER: 4
    TYPE: "Branches Many to One"
    TOTAL_AMOUNT: 1
    TOTAL_PUB: 1
    TOTAL_SUB: 1
    FROM: Grid
    TO: DB
    ATTRIBUTES:
     - ATTR: 'P_from'
     - ATTR: 'Q_from'
     - ATTR: 'P_to'
     - ATTR: 'P_from'
  - CONECTOR_NUMBER: 5
    TYPE: "Nodes Randomly"
    TOTAL_AMOUNT: 1
    TOTAL_PUB: 1
    TOTAL_SUB: 1
    FROM: PV
    TO: Grid
    ATTRIBUTES:
     - ATTR: 'P'
  - CONECTOR_NUMBER: 6
    TYPE: "Building to grid"
    TOTAL_AMOUNT: 1
    TOTAL_PUB: 1
    TOTAL_SUB: 1
    FROM: ResidentialLoads
    TO: Grid
    ATTRIBUTES:
     - ATTR: 'P_out'
     - ATTR: 'P'