Closed darenkeck-dev closed 1 year ago
Removing WIP once I have tested against the modelica standard library.
Long tests are completing as expected. Removing WIP
Converting back to draft as it looks like replaceable 'value' modifier paths are broken.
When reviewing output from the modelica standard library, I saw the following behavior:
If you look at the option at path: "Buildings.Templates.AirHandlersFans.Components.Controls.Interfaces.PartialVAVMultizone.coiHeaReh"
It has a modifier with the following shape:
"modifiers": {
"Buildings.Templates.Components.Coils.None.coiHeaReh": {
"expression": "Buildings.Templates.Components.Coils.None",
"final": false
}
},
"Buildings.Templates.Components.Coils.None.coiHeaReh"
should be "Buildings.Templates.AirHandlersFans.Components.Controls.Interfaces.PartialVAVMultizone.coiHeaReh"
/
The original modelica looks as follows:
outer replaceable Buildings.Templates.Components.Coils.None coiHeaReh
"Heating coil (reheat position)";
This might be able to get fixed by updating what gets passed as a base path for the replaceable modifier here: https://github.com/devetry/LBL-Linkage-Widget-v2/blob/dk/154-path-expansion/server/src/parser/parser.ts#L492
'value' modifier paths are broken
I've added a test and this issue is now fixed. This PR is ready for review again.
Description
Updates how types get assigned. This does NOT include expression types
Related Issue(s)
154
Testing
Run integration tests
Make sure to also run long tests