blob: ac8063d11effcf83a87567c38af24ff105e5c930 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* autogenerated from "macros/Electrical/CurrentSensor.sci" */
function CurrentSensor() {
CurrentSensor.prototype.get = function CurrentSensor() {
}
CurrentSensor.prototype.set = function CurrentSensor() {
x=arg1;
}
CurrentSensor.prototype.define = function CurrentSensor() {
model=scicos_model();
model.in=1;
model.out=[1,1];
model.sim="CurrentSensor";
model.blocktype="c";
model.dep_ut=[true,None];
mo=modelica();
mo.model="CurrentSensor";
mo.inputs="p";
mo.outputs=["n","i"];
model.equations=mo;
exprs=[];
gr_i=[];
x=standard_define([2,2],model,exprs,list(gr_i,0));
x.graphics.in_implicit=["I"];
x.graphics.out_implicit=["I","E"];
}
CurrentSensor.prototype.details = function CurrentSensor() {
}
}
|