{
  "id": "urn:ngsi-ld:SimulationScenario:01",
  "type": "SimulationScenario",
  "description": {
    "type": "Text",
    "value": "Free Text"
  },
  "createdBy": {
    "type": "Text",
    "value": "urn:ngsi-ld:User:u1"
  },
  "hasInputNetwork": {
    "type": "Text",
    "value": "urn:ngsi-ld:WaterNetwork:01"
  },
  "hasSimulationResult": {
    "type": "Text",
    "value": "urn:ngsi-ld:SimulationResult:01"
  },
  "duration": {
    "type": "Number",
    "value": 86400
  },
  "hydraulicTimeStep": {
    "type": "Number",
    "value": 3600
  },
  "flowUnits": {
    "type": "Text",
    "value": "LPS"
  },
  "headlossFormula": {
    "type": "Text",
    "value": "H-W"
  },
  "startClockTime": {
    "type": "Boolean",
    "value": false
  },
  "reportStep": {
    "type": "Number",
    "value": 3600
  },
  "reportStart": {
    "type": "Boolean",
    "value": false
  },
  "ruleTimeStep": {
    "type": "Number",
    "value": 900
  },
  "statistic": {
    "type": "Text",
    "value": "none"
  },
  "trials": {
    "type": "Number",
    "value": 40
  },
  "accuracy": {
    "type": "Number",
    "value": 0.001
  },
  "tolerance": {
    "type": "Number",
    "value": 0.01
  },
  "emitterExponent": {
    "type": "Number",
    "value": 0.5
  },
  "headError": {
    "type": "Boolean",
    "value": false
  },
  "flowChange": {
    "type": "Number",
    "value": 0.01
  },
  "demandCharge": {
    "type": "Number",
    "value": 2
  },
  "demandModel": {
    "type": "Text",
    "value": "PDA"
  },
  "minimumPressure": {
    "type": "Boolean",
    "value": false
  },
  "requiredPressure": {
    "type": "Number",
    "value": 20
  },
  "pressureExponent": {
    "type": "Number",
    "value": 0.5
  },
  "viscosity": {
    "type": "Boolean",
    "value": true
  },
  "unbalanced": {
    "type": "Text",
    "value": "continue_N"
  },
  "unbalancedN": {
    "type": "Number",
    "value": 20
  },
  "checkFrequency": {
    "type": "Number",
    "value": 2
  },
  "maxCheck": {
    "type": "Number",
    "value": 10
  },
  "dampLimit": {
    "type": "Boolean",
    "value": false
  },
  "diffusivity": {
    "type": "Boolean",
    "value": true
  },
  "bulkOrder": {
    "type": "Boolean",
    "value": true
  },
  "wallOrder": {
    "type": "Boolean",
    "value": true
  },
  "tankOrder": {
    "type": "Boolean",
    "value": true
  },
  "concentrationLimit": {
    "type": "Boolean",
    "value": false
  },
  "qualityType": {
    "type": "Text",
    "value": "chem"
  },
  "chemicalName": {
    "type": "Text",
    "value": "Chlorine"
  },
  "chemicalUnits": {
    "type": "Text",
    "value": "mg/l"
  },
  "specificGravity": {
    "type": "Boolean",
    "value": true
  },
  "qualityTimeStep": {
    "type": "Number",
    "value": 60
  },
  "operationalControl": {
    "type": "StructuredValue",
    "value": [
      {
        "controlType": "HILEVEL",
        "controlledLink": "urn:ngsi-ld:Tank:T1",
        "monitoredNode": "urn:ngsi-ld:Pump:P1",
        "setting": 0,
        "triggerLevel": 30,
        "type": "Operational Control 1"
      },
      {
        "controlType": "LOWLEVEL",
        "controlledLink": "urn:ngsi-ld:Pump:P1",
        "monitoredNode": "urn:ngsi-ld:Tank:T1",
        "setting": 1,
        "triggerLevel": 10,
        "type": "Operational Control 2"
      }
    ]
  },
  "inputParameters": {
    "type": "StructuredValue",
    "value": [
      {
        "setting": 50,
        "targetURI": "urn:ngsi-ld:Valve:V1",
        "type": "Property 1"
      },
      {
        "initialQuality": 2,
        "targetURI": "urn:ngsi-ld:Tank:T1",
        "type": "Property 2"
      },
      {
        "efficCurve": "urn:ngsi-ld:Curve:C1",
        "targetURI": "urn:ngsi-ld:Pump:P1",
        "type": "Property 1"
      },
      {
        "baseDemand": 1.1,
        "demandCategory": "agriculture demand",
        "demandPattern": "urn:ngsi-ld:Pattern:Agriculture",
        "targetURI": "urn:ngsi-ld:Junction:J1",
        "type": "demand Category 1"
      },
      {
        "baseDemand": 1.7,
        "demandCategory": "residential demand",
        "demandPattern": "urn:ngsi-ld:Pattern:Residential",
        "targetURI": "urn:ngsi-ld:Junction:J1",
        "type": "demand Category 2"
      }
    ]
  }
}