nwidPEM function
Identify a full directed network or a single target module in a directed network using prediction error minimization (PEM), based on the implementation in the System Identification toolbox. The network model is transformed into a state space model to support optimization with pem.
Syntax
model = nwidPEM(data,model,orders,options)performs identification based on the provided data, initialized network model, model orders and option set. The identified predictor model is returned.
Input arguments
data
nwdataobjectNetwork data object. The input excitation, input node and output node signals (as referred to by their labels) in the
Rset,DsetandYsetof the predictor model must be present in the data.model
nwpredmodelobjectnwmodelobjectInitialized network/predictor model object. Use an
nwmodelobject to identify the full network, and annwpredmodelobject to identify a single target module. The properties of the predictor mappingsG,TandHare used in the algorithm, with some restrictions:- The algorithm currently only supports
Variable = z^-1, hence only discrete-time identification is possible. Hmust specify a square matrix (number of noise signals is equal to the number of output nodes) and is enforced to be monic.
- The algorithm currently only supports
orders
structure array Model orders. Can be used to override properties of the initialized network model object. Use a structure array with optional fields
G,TandH, which should each be structure arrays themselves with the optional fieldsnpnum,npdenandd(to set the analogousPredictorMapproperties). Use an empty structure array to use the initialized network model object without modifications.options
nwidPEMOptionsobjectOption set for
nwidPEMfunction. Can be constructed usingoptions = nwidPEMOptionsfor the default option set oroptions = nwidPEMOptions(Name=Value,...)to set specified options.
Output arguments
model
nwpredmodelobjectnwmodelobjectEstimated network/predictor model object. This is an
nwmodelobject after full network identification, and annwpredmodelobject after single module identification. Thepnumandpdenproperties of theG,TandHfields are populated with the estimated parameter values. Theeproperties ofG,TandHcontain the fixed and estimated transfer functions of the predictor model connections.