Usually one can specify the value of a component parameter thru a variable, e.g. for an inductor L=myLvalue, where myLvalue is defined in an Equation component.
This does not work for the N Mutual Inductors component (MUTX in the qucsator netlist) : the netlist parser says syntax error, unexpected ScaleOrUnit, expecting ']', for both the inductance values and the coupling coefficients.
I have the impression this just requires some (small ?) changes to parse_netlist.ypp but I know nothing about yacc/bison...
Usually one can specify the value of a component parameter thru a variable, e.g. for an inductor
L=myLvalue
, wheremyLvalue
is defined in anEquation
component. This does not work for the N Mutual Inductors component (MUTX
in thequcsator
netlist) : the netlist parser sayssyntax error, unexpected ScaleOrUnit, expecting ']'
, for both the inductance values and the coupling coefficients.I have the impression this just requires some (small ?) changes to parse_netlist.ypp but I know nothing about
yacc
/bison
...See the enclosed schematic for a failing example (rename
.txt
in.sch
)