Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QWAT export : Second step of ilivaditator fails with hydraulics #23

Open
olivierdalang opened this issue Jul 8, 2021 · 1 comment
Open
Milestone

Comments

@olivierdalang
Copy link
Collaborator

On python -m qgepqwat2ili qwat export test_export.xtf (demo data), ilivalidator fails with following log.

Seems linked at least partially to isolated nodes and start/end nodes. Not sure if this is actually meant to be invalid, or if the associations rules are too strict in the ili model ?

[...]
Info: validate data...
Info: assume unknown external objects
Info: first validation pass...
Info: second validation pass...
Info: validate unique constraint SIA405_Base_LV95.SIA405_BaseClass.Constraint1...
Info: validate multiplicity of role SIA405_WASSER_2015_LV95.SIA405_Wasser.Hydraulischer_Strang_vonKnotenAssoc.Hydraulischer_Strang_vonKnotenAssocRef...
Info: validate multiplicity of role SIA405_WASSER_2015_LV95.SIA405_Wasser.Hydraulischer_Strang_bisKnotenAssoc.Hydraulischer_Strang_bisKnotenAssocRef...
Info: validate multiplicity of role SIA405_WASSER_2015_LV95.SIA405_Wasser.Hydraulischer_Knoten_TextAssoc.Text...
Info: validate multiplicity of role SIA405_WASSER_2015_LV95.SIA405_Wasser.Leitungsknoten_KnotenAssoc.Leitungsknoten_KnotenAssocRef...
Error: line 7: SIA405_WASSER_2015_LV95.SIA405_Wasser.Hydraulischer_Knoten: tid ch00000000000002: Hydraulischer_Strang_vonKnotenAssocRef should associate 1 to * target objects (instead of 0)
Error: line 7: SIA405_WASSER_2015_LV95.SIA405_Wasser.Hydraulischer_Knoten: tid ch00000000000002: Hydraulischer_Strang_bisKnotenAssocRef should associate 1 to * target objects (instead of 0)
Error: line 8: SIA405_WASSER_2015_LV95.SIA405_Wasser.Hydraulischer_Knoten: tid ch00000000000003: Hydraulischer_Strang_vonKnotenAssocRef should associate 1 to * target objects (instead of 0)
Error: line 9: SIA405_WASSER_2015_LV95.SIA405_Wasser.Hydraulischer_Knoten: tid ch00000000000004: Hydraulischer_Strang_bisKnotenAssocRef should associate 1 to * target objects (instead of 0)
Error: line 9: SIA405_WASSER_2015_LV95.SIA405_Wasser.Hydraulischer_Knoten: tid ch00000000000004: Leitungsknoten_KnotenAssocRef should associate 1 to * target objects (instead of 0)
Error: line 10: SIA405_WASSER_2015_LV95.SIA405_Wasser.Hydraulischer_Knoten: tid ch00000000000005: Hydraulischer_Strang_vonKnotenAssocRef should associate 1 to * target objects (instead of 0)
Error: line 11: SIA405_WASSER_2015_LV95.SIA405_Wasser.Hydraulischer_Knoten: tid ch00000000000006: Hydraulischer_Strang_bisKnotenAssocRef should associate 1 to * target objects (instead of 0)
[...]
@olivierdalang olivierdalang added this to the user testing milestone Jul 8, 2021
@olivierdalang olivierdalang removed this from the user testing milestone Aug 19, 2021
@olivierdalang
Copy link
Collaborator Author

note that CLI has changed, you now need to add --include_hydaulics to get this behaviour

@olivierdalang olivierdalang added this to the one day milestone Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant