Hi all,
I suspect that I'm trying to use the Modeling SDK Domain-Specific Language Project type wrong... But there doesn't appear to be many good references for its usage.
So, I want to create a Visual Studio add-in that would allow for the creation of Fault Tree Models within Visual Studio, and then to allow these to be exported out into OpenPSA XML or to have analysis performed over them to come up with reliability data.
I'm trying to create the model framework for them, and as part of this have two items, Gates and Events. Each of these have a value output from them, which I'm trying to represent with an OutPort, allowing them to be connected to either an upstream Gate or similar.
However, when I try to embed an OutPort into both a Gate, and an Event class I get complaints from the Validation Engine saying that I need to have 0..1 multiplicity on them. I actually want 1..1 on each, each Gate MUST have an OutPort, and each Event MUST have an OutPort (it's a compositional relationship more than anything else).
I have however relented, and attempted to configure these as directed by the Validation Engine, however it still produces the same complaint.
Does anyone have a source of good background info on the Domain-Specific Language toolset / Modeling SDK?
Or have any direction for how to resolve this particular Validation error (that differs from how I've shown in the screenshot above)?
Regards,
Bevan Weiss