33 lines
1.1 KiB
Python
33 lines
1.1 KiB
Python
"""Reviewed model contract versions implemented by the C kernels.
|
|
|
|
A new registration/version must be explicitly ported and tested; it does not
|
|
gain native support just by inheriting a supported Python component class.
|
|
"""
|
|
SUPPORTED_VERSIONS = {
|
|
'amesim_ideal_air_medium': '0.2.0',
|
|
'amesim_helium_medium': '0.1.0',
|
|
'amesim_pnpl01': '0.1.0',
|
|
'amesim_step0': '0.1.0',
|
|
'amesim_ud00': '0.2.0',
|
|
'amesim_f000': '0.1.0',
|
|
'amesim_forc': '0.2.0',
|
|
'amesim_mecmas21': '0.2.0',
|
|
'amesim_lstp00a': '0.2.0',
|
|
'amesim_lmechn1': '0.2.0',
|
|
'amesim_pnrp17': '0.1.0',
|
|
'amesim_pnch023': '0.1.0',
|
|
'amesim_pnch012': '0.1.0',
|
|
'amesim_pnor001': '0.3.0',
|
|
'amesim_pnvo001_fixed': '0.2.0',
|
|
'amesim_pnvo001': '0.2.0',
|
|
'amesim_pnl00r': '0.3.0',
|
|
'amesim_pnl0001': '0.4.0',
|
|
'amesim_pnl0002': '0.6.0',
|
|
'amesim_pnl0003': '0.4.0',
|
|
'amesim_pn3node2': '0.3.0',
|
|
'amesim_p4node2': '0.3.0',
|
|
'cylinder': '1.0.0', 'tank': '1.0.0', 'pipe': '1.0.0',
|
|
'orifice': '1.0.0', 'tee': '1.0.0',
|
|
}
|
|
SUPPORTED_TYPES = frozenset(SUPPORTED_VERSIONS)
|