Sage Modeling and Simulation Library

MaterialService Constructor (IModel, String, Guid, Int32, Double, MaterialCatalog, Double)

Creates a MaterialService. A MaterialService models a system that provides some service or material, but may only be able to service a limited number of clients, and perhaps only at a limited supply rate.

Namespace:  Highpoint.Sage.Materials
Assembly:  Sage4 (in Sage4.dll)

Syntax


public MaterialService(
	IModel model,
	string name,
	Guid guid,
	int nSvcTokens,
	double maxDeliveryRate,
	MaterialCatalog materialCatalog,
	double defaultMaterialTemperature
)

Parameters

model
Type: Highpoint.Sage.SimCore..::..IModel
The model to which this MaterialService belongs.
name
Type: String
The name of this MaterialService.
guid
Type: Guid
The guid of this MaterialService.
nSvcTokens
Type: Int32
The number of clients this MaterialService can service at the same time.
maxDeliveryRate
Type: Double
The maximum kilograms per minute that this MaterialService can provide. Note - if physical materials are not delivered, this value can be any units desired.
materialCatalog
Type: Highpoint.Sage.Materials.Chemistry..::..MaterialCatalog
The material catalog from which are drawn the materials in this MaterialService.
defaultMaterialTemperature
Type: Double
The temperature at which materials will be auto-created.