Coverage for backend/flowsheetInternals/unitops/config/objects/direct_steam_injection_config.py: 100%
3 statements
« prev ^ index » next coverage.py v7.10.7, created at 2025-11-06 23:27 +0000
« prev ^ index » next coverage.py v7.10.7, created at 2025-11-06 23:27 +0000
1from common.config_types import *
2from common.config_utils import *
4direct_steam_injection_config: ObjectType = ObjectType.model_validate({
5 "displayType": "Direct Steam Injection",
6 "displayName": "Direct Steam Injection",
7 "ports": {
8 "inlet": {
9 "many": False,
10 "displayName": "Inlet",
11 "type": ConType.Inlet,
12 "streamName": "S",
13 },
14 "steam_inlet": {
15 "many": False,
16 "displayName": "Steam Inlet",
17 "type": ConType.Inlet,
18 "streamName": "S",
19 },
20 "outlet": {
21 "displayName": "Outlet",
22 "type": ConType.Outlet,
23 "streamName": "S",
24 }
25 },
26 # TODO: ensure this will work with n number of inlets & outlets
27 "propertyPackagePorts": {
28 "": ["inlet", "outlet"],
29 "Steam": ["steam_inlet"]
30 },
31 "graphicObject": unitop_graphic(),
32 "properties": {},
33 "propertySetGroups": {},
34})