nwmodel class
Captures a model of a dynamic network, in which coefficients governing the dynamic relationships between the elements of the network can be specified. It defines the mapping of all internal nodes, excitation signals and noise sources to the internal nodes of the network (as denoted in for directed networks). When coefficients are specified, the nwmodel object can be used for simulation. When coefficients are parametrized it can be used as a parametrized predictor model in full network identification. The nwmodel class is a special case of the network predictor model (nwpredmodel) class, in which all excitations of the network are used as input signals, and all nodes are used as input and output signals of the predictor model. All properties and methods of (nwpredmodel) are also present in instances of this class.
Construction
model = nwmodel(NetworkStructure)creates a full network identification model based on the topology in the providedLabelledAdjStructargument.model = nwmodel(G,R,H)creates a full network model based on theG,RandHtransfer functions. The underlying network structure is inferred from these objects.model = nwmodel(X,Y,B,F)creates a full DCN network model, based on theX,Y,BandFtransfer functions.model = nwmodel(A,B,C)creates a full DCN network ARMAX model, based on theA,BandCpolynomial matrices.model = nwmodel(__,Name=Value)creates a full network identification model with additional properties set according to the provided values. The same properties can be set through this method as innwpredmodel.
Properties
See nwpredmodel for a list of properties shared with the nwpredmodel class.
L
positive scalar Number of nodes.
K
positive scalar Number of excitations.
p
positive scalar Number of noise signals.
Methods
See nwpredmodel for a list of methods shared with the nwpredmodel class.
simulate
Simulate identified network model.
Syntax
w = simulate(model,r,e,t)simulates the full network and returns the node signalswin response to the excitationsrand noise signalseover the time samplest.w = simulate(model,data,e)simulates the full network and returns the node signalswin response to the excitation signals indataand noise signalse. The excitation signals in the data are matched to the labels in the network model, and the time samples are derived from the data object. Note that node signals in the data object are ignored.
Input arguments
model
nwmodelobjectrdata
double array nwdataobjectInput excitation signals/data object.
e
double array Input noise signals.
t
double array Time samples.
Output arguments
w
double array Simulated node signals