使用digexdyn调用外部dll的方法
我想实现通过digsilent提供的digexdyn来调用外部dll(dll内含有控制算法)。虽然digsilent的帮助文档中提到了此方法,但是没有详细的说明。希望大家可以帮帮忙,有详细的说明或者例子发我参考一下。谢谢
digsilent的说明文档如下。
-------------------------------------------------------------------------------------------------------------------------------
User-specificC++ Code
The user has two options for combining the PowerFactory DSL modelling approach with externally developed
C++ code.
1.User-defined intrinsic functions can be linked via external DLL for extending the already broad range of
DSL standard intrinsic functions such as: “abs”, “sin”, “cos”, “exp”, etc. and DSL special functions such
as “lapprox”, “lim”, “limstate”, “delay”, “picdro”, “time”, “file”, “flipflop”, etc.User defined intrinsic
functions are to be linked to PowerFactory via the DLL “digexfun”.
2.Complete user-defined models of any modelling level, linked via the DLL “digexdyn” is supported for any
discrete system. Typical applications are digital control systems which are executed via clock-
synchronized calls, simulation models being implemented via difference equations, or models which incl.
their state variables and integration algorithms internally.
------------------------------------------------------------------------------------------------------------------------------- 不会,关注一下。 没有用过,以前倒是在VC++中调用过Fortran编译的Dll,具体这个不怎么会 请问楼主,您这个问题解决勒嘛?
页:
[1]