summaryrefslogtreecommitdiff
path: root/webapp/history/data_structures/CVS.js
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/history/data_structures/CVS.js')
-rw-r--r--webapp/history/data_structures/CVS.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/webapp/history/data_structures/CVS.js b/webapp/history/data_structures/CVS.js
new file mode 100644
index 0000000..5bfb5f9
--- /dev/null
+++ b/webapp/history/data_structures/CVS.js
@@ -0,0 +1,30 @@
+function CVS () {
+
+
+ var ModelName = "CVS";
+
+ var PrametersValue = [];
+
+ var ParametersName = [];
+
+ var model = scicos_model();
+
+ var Typein = [];
+
+ var Typeout = [];
+
+ var MI = [];
+
+ var MO = [];
+
+ var P = [[2,50,1,0],[,70,98,2,0],[70,2,-2,0]];
+
+ var PortName = ["vin";"p";"n"];
+
+ var for i = 1:size(P,"r");
+
+ var if P(i,3) = =1, then;
+ Typein = new ScilabDouble([Typein;,"E"]);
+ MI = new ScilabDouble([MI],[PortName(i)]);
+ return new BasicBlock(this.x)
+}