Closed csweetapple closed 3 years ago
With respect to the missing demandeCategory
definition noted for the Junction model, there is only one occurrence of demandeCategory
present in the code and that's in the junction model.yaml - in the Junction schema it is already correctly named demandCategory
and this is defined in the corresponding spec.md. Will the model.yaml be updated/corrected automatically?
Source category has 5 mandatory properties, it means that a payload without these properties cannot be considered. It limits quite much of its use. Can this be reconsidered?
Regarding units cannot be simplified all these?. As far as I understand it is 'only' the E91 code, the reference to CEFACT and the example
Source category has 5 mandatory properties, it means that a payload without these properties cannot be considered. It limits quite much of its use. Can this be reconsidered?
Are you referring here to the definition of sourceCategory
in WaterNetworkManagement-schema.json, which has
"required": [
"type",
"value",
"sourceType",
"sourceQuality",
"sourcePattern"
]
To be EPANET compatible, it is essential that every source as a sourceType
(CONCEN, MASS, FLOWPACED, or SETPOINT) and sourceQaulity
defined. sourcePattern
should be optional.
Note also that sourceCategory
itself is an optional property (of junctions, tanks and reservoirs).
tag
description in spec.md for Curve.tag
description in spec.md for Pattern.demandCategory
from Reservoir schema (since EPANET only allows demands to be specified for junctions)emitterCoefficient
from Reservoir schema (since EPANET only allows emitters to be specified for junctions)baseDemand
from Tank schema (baseDemand should be a sub-property of demandCategory, which isn't (and shouldn't) be present for tanks)bulkReactionCofficient
description in spec.md for TankinitialQuality
description in spec.md for TankminLevel
description in spec.md for Tank.type
description in spec.md for Tank, Valve, Reservoir, Pump and Patternlocation
description in spec.md for Tank, Valve, Reservoir, Pump and Pipe