From GridLAB-D Wiki
Jump to: navigation, search

 Approval item:  --Dchassin 16:51, 9 October 2011 (UTC)

The linkage term of the instance directive is used to establish a synchronized data link between a master and slave instances of GridLAB-D.

GLM

instance hostname {
  model slave.glm;
  local-object:property -> remote-object:property;
  // ... other master->slave links
  local-object:property <- remote-object:property;
}

The -> (right arrow) linkage indicates that data is sent from the master to the slave. These linkages copy data from the master object on the left to the slave object on the right before the slave's clock synchronizes its objects.

The <- (left arrow) linkage indicates that data received by the master from the slave. These linkages copy data from the slave object on the right to the master object on the left after the slave's clock synchronizes its objects.

See also