3 Commits

3 changed files with 19 additions and 2 deletions

View File

@@ -66,6 +66,15 @@
"units": ["g/m³", "mol/m³"] "units": ["g/m³", "mol/m³"]
} }
] ]
},
{
"name": "Quantity (TSS)",
"models": [
{
"name": "VegaSolidsProbe",
"units": ["g/m³"]
}
]
} }
] ]
} }

View File

@@ -412,6 +412,14 @@
], ],
"description": "The frequency at which calculations are performed." "description": "The frequency at which calculations are performed."
} }
},
"flowNumber": {
"default": 1,
"rules": {
"type": "number",
"nullable": false,
"description": "Defines which effluent flow of the parent node to handle."
}
} }
} }

View File

@@ -11,11 +11,11 @@ class ChildRegistrationUtils {
this.logger.debug(`Registering child: ${name} (${id}) as ${softwareType} at ${positionVsParent}`); this.logger.debug(`Registering child: ${name} (${id}) as ${softwareType} at ${positionVsParent}`);
// Enhanced child setup - optional multiple parents // Enhanced child setup - multiple parents
if (Array.isArray(child.parent)) { if (Array.isArray(child.parent)) {
child.parent.push(this.mainClass); child.parent.push(this.mainClass);
} else { } else {
child.parent = this.mainClass; child.parent = [this.mainClass];
} }
child.positionVsParent = positionVsParent; child.positionVsParent = positionVsParent;