Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91082492
interface_properties.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Nov 7, 17:12
Size
787 B
Mime Type
text/x-python
Expires
Sat, Nov 9, 17:12 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22192956
Attached To
R3852 EMS for Smart-Building
interface_properties.py
View Options
__author__
=
'Olivier Van Cutsem'
class
InterfaceThermalProperty
:
RESISTANCE_KEY
=
'R'
CAPACITY_KEY
=
'C'
def
__init__
(
self
,
thermal_param
):
list_r
=
thermal_param
[
InterfaceThermalProperty
.
RESISTANCE_KEY
]
list_c
=
thermal_param
[
InterfaceThermalProperty
.
CAPACITY_KEY
]
assert
(
len
(
list_r
)
==
(
len
(
list_c
)
+
1
))
self
.
__modelOrder
=
len
(
list_c
)
self
.
__resistiveParam
=
list_r
self
.
__capacitiveParam
=
list_c
@property
def
resistiveParameters
(
self
):
return
self
.
__resistiveParam
@property
def
capacitiveParam
(
self
):
return
self
.
__capacitiveParam
@property
def
orderModel
(
self
):
return
self
.
__modelOrder
class
InterfaceLuminosityProperty
:
def
__init__
(
self
):
pass
Event Timeline
Log In to Comment