Closed mhoganRiff closed 4 years ago
This should be raised with the ISA-95 committee. If this is to occur, these fields should be optional, not required, otherwise the B2MML documents are not compatible. A copy of this was sent to the ISA 95 chairman.
It would be nice if the ProcessElementParameterType definition had a standard mechanism for storing transformation calculations.
The thinking here is that GeneralRecipes are converted into MasterRecipes via transformation. These transformations generally involve calculations. However, there does not seem to be a standard way to embed parameter calculations in GeneralRecipe ProcessElementParameter values using the B2MML standard.
One way to approach this might be to harmonize ValueType and BatchValueType, and to use this harmonized type to express parameter values the GeneralRecipe and MasterRecipe "worlds".
If ValueTypes were made to look like "a BatchValueType with an optional Key", then all uses of BatchValueType could use ValueType instead.
The proposed change is backward compatible: any existing BatchML/B2MML documents would remain valid.
In addition to proposed to the ValueType declaration (shown below), the DataInterpretation1Type and DataInterpretationType declarations would need to move from BatchML-BatchInformation.xsd to, say, B2MML-Common.xsd. They do not seem to have any dependencies that would prevent this.