Comments (3)
Please could you specify in more detail, how we can reproduce the issue? Which Dymola version and which version of the Modelica Standard Library do you use? Is your platform Windows? What do you exactly do before the issue appears?
from faulttriggering.
Thanks, I am using Windows 10, Modelica Standard Library Version 4.0.0. Dymola 2022 (64-bit)
i see that FaultTriggeringLibrary uses Version 3.2.2, is that the issue? (because i need 4.0.0)
and in the simplest example I go to Actuator Model and click Check.
alternatively i will try to run my Device(called "Wire" and containing two variable boolean faults) through the createfaultPackage and the command line will return the following:
FaultTriggering.createFaultPackage("Wire", "WireFaultScript.mos", "WireFaultPackage.mo");
Warning: Ignoring output for variable faultNames in function FaultTriggering.createFaultPackage, since the variable is protected.
Warning: Ignoring output for variable faultType in function FaultTriggering.createFaultPackage, since the variable is protected.
Warning: Ignoring output for variable faultChannel in function FaultTriggering.createFaultPackage, since the variable is protected.
Warning: Ignoring output for variable name in function FaultTriggering.createFaultPackage, since the variable is protected.
Warning: Ignoring output for variable extendsTo in function FaultTriggering.createFaultPackage, since the variable is protected.
Warning: Ignoring output for variable extensionDepths in function FaultTriggering.createFaultPackage, since the variable is protected.
Warning: Ignoring output for variable finalVariable in function FaultTriggering.createFaultPackage, since the variable is protected.
Warning: For equation
faultType = cat(1, ones(size(realFaultNames, 1))*4, ones(size( integerFaultNames, 1))*5, ones(size(booleanFaultNames, 1))*6);
found in class FaultTriggering.createFaultPackage, C:/...FaultTriggering-0.6.6/FaultTriggering/createFaultPackage.mo at line 75.
Warning: The types of the operands in (faultType) = (cat(1, ones(size(realFaultNames, 1))*4, ones(size( integerFaultNames, 1))*5, ones(size(booleanFaultNames, 1))*6))
are Enumeration and Integer, but they must be compatible.
Variable faultType was declared in class FaultTriggering.createFaultPackage, C:/.../FaultTriggering-0.6.6/FaultTriggering/createFaultPackage.mo at line 25, and used in component createFaultPackage.
= ""
Error: Failed to open or read ~FMUOutput/modelDescription.xml
Failed to expand FaultTriggering.Utilities.Internal.gatherVariableFaults("Wire", true).
Failed to expand FaultTriggering.Utilities.Internal.faultProcessingForFaultBus("Wire", "WireFaultScript.mos", true).
Failed to expand FaultTriggering.createFaultPackage("Wire", "WireFaultScript.mos", "WireFaultPackage.mo", true).
from faulttriggering.
The library FaultTriggering is not compatible with Modelica Standard Library 4.0.0. That is the reason for the issue in your first post. Because in the library there are functions generating Modelica code, a conversion seems to be more complex than just applying a conversion script. Currently, there is no plan to update the library.
from faulttriggering.
Related Issues (19)
- RealVariableFault_level2.png is missing HOT 1
- Missing example MotorExample.Driveline HOT 1
- array faults lead to corrupt wrapper package generation HOT 1
- Automatic bus generation gets problems when 2 submodels have the same name HOT 3
- Link fault model to FaultTriggerController HOT 1
- Add checkbox to replace excisting files HOT 1
- Redeclared replaceables are not parsed HOT 1
- Error for createFaultPackage: "Failed to open or read ~FMUOutput\modelDescription.xml" HOT 3
- Dymola 2016 is not compatible with current FaultTriggering HOT 1
- Link to AdvancedNoise library HOT 1
- HTML Tidy HOT 1
- Issue when only a single fault is identified in the model HOT 1
- Several minor issues with latest release version HOT 5
- Development branch HOT 2
- Disabled FaultTriggering.Utilities.Records.Parameter_Faults.booleanFaults HOT 2
- Non-standard Dialog annotations
- Invalid links
- Dependency on ModelManagement HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faulttriggering.