Coverage for backend/django/flowsheetInternals/unitops/config/objects/integration_config.py: 100%
4 statements
« prev ^ index » next coverage.py v7.10.7, created at 2026-06-23 21:51 +0000
« prev ^ index » next coverage.py v7.10.7, created at 2026-06-23 21:51 +0000
1from common.config_types import *
2from common.config_utils import *
3from ..spec_helpers import *
5integration_config: ObjectType = ObjectType(
6 displayType="Integration Block",
7 displayName="Integration Block",
8 ports={},
9 graphicObject=unitop_graphic(),
10 properties=PropertiesType({
11 "variable": PropertyType(
12 displayName="Variable",
13 type="numeric",
14 unitType="dimensionless",
15 value=0
16 ),
17 "integral": PropertyType(
18 displayName="Integral",
19 type="numeric",
20 unitType="dimensionless",
21 value=0,
22 hasTimeIndex=False,
23 ),
24 }),
25 propertySetGroups={
26 "default": {
27 "type": "stateVars",
28 "displayName": "Properties",
29 "stateVars": ("variable",),
30 }
31 },
32 keyProperties=["integral"],
33 idaes_adapter=UnitModelAdapter(
34 args=ArgAdapter({
35 }),
36 ),
37)