open-simulation-platform / osp-validator

Ontology-based systems structure validator
Mozilla Public License 2.0
4 stars 1 forks source link

No validation when the osp-system-structure contains more than one output connected to the same input #89

Open cesarcarc opened 2 years ago

cesarcarc commented 2 years ago

Setup:

Action 1:

Result 1: No error!

Action 2:

Result 2: Error message is shown: _error: Invalid system structure: Cannot establish connection between variables Damper1:df_1 and Mass1:in_f_u: Target variable is already connected to Damper1:df0

I believe the osp-validator should be able to detect this type of error (multiple outputs connected to the same input), as this configuration would not run.

cesarcarc commented 2 years ago

Config.zip