Skip to content

Commit 7b3724a

Browse files
committed
Skip String inputs and outputs
1 parent 038fa3f commit 7b3724a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modelica_fmi/src/modelica_fmi/import_fmu_to_modelica.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ def import_fmu_to_modelica(
144144
parameters.append(variable)
145145
elif variable.causality == "structuralParameter":
146146
structural_parameters.append(variable)
147-
elif variable.causality == "input":
147+
elif variable.causality == "input" and variable.type != "String":
148148
inputs.append(variable)
149-
elif variable.causality == "output":
149+
elif variable.causality == "output" and variable.type != "String":
150150
outputs.append(variable)
151151

152152
width = 1200

0 commit comments

Comments
 (0)