On Thu, Aug 25, 2016 at 10:30:12AM +0200, Felix Salfelder wrote:
> will try to implement a meter that reads from probes. later...

put something together, see [1].

- a "probe" function (requires a patched expression parser [2]). this
  allows you to access probes from parameter expressions.
- an "expression evaluator". inspired by the (dysfunctional) qucsator
  "eqn" device. it takes as many parameters as you like. these are
  evaluated (in order) during simulation. the values are accessible as
  probes.
- an integrator. takes one parameter expression as argument. provides
  the integral as a probe.

all of this does not use nets and nodes. you cant model components with
it, but that's not the intent! .. just see the included example (.gc
files).

cheers
felix

[1] https://github.com/gnucap/gnucap-mon
[2] http://git.savannah.gnu.org/cgit/gnucap.git/log/?h=quoted_expressions

_______________________________________________
Gnucap-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnucap-devel

Reply via email to