IntroductionIn this topic some modelling aspects of Process Design will be discussed. Activity ModelingProcess Design is, from a modeling point of view, a matter of Activity modeling with as main "participants": the functional aspects of any hardware and the inlet Stream(s), outlet Stream(s). The document type closest to activity modeling is the Block Flow Diagram, showing Unit Operations and Streams of matter or energy, like this one: Unit OperationsThere is a subtle difference between ClassOfActivity and Unit Operation. The Unit Operation is an activity but sometimes understood as the equipment handling that activity. In other words: when different equipment types are being used different variants of unit operation are sometimes defined. It is noticable that in above diagram the blocks sometimes have activty names (e.g. Amine Treating or Atmosheric Distillation) and sometimes the name of the performer of that activity (e.g. Hydrotreater or Delayed Coker). In ISO 15926 the activity and all participating physical objects, and the role in which they participate, are defined separately and explicitly. The model for the Unit Operation UO_PRESSURE_CHANGER is for example: This graph is somewhat simplified, in that the temporal parts and the cardinalities are not shown. Stream DataThe PDXI Project of AIChE resulted in definitions of unit operations. For the above UO_Pressure_Changer it lists the following stream data: Inlet Pressure, Outlet Pressure, Inlet Temperature and Outlet Temperature, Volumetric Flow Rate. Equipment DataFor the performer (be it a pump or compressor) it lists the following equipment data:
Transfer FunctionAn Activity is determined by the interaction of the relevant behaviours of the participating objects. For each unit operation a set of applicable equations is defined. Process simulator suppliers make a living of building in accurate equations for each UO. If one wants to model these transfer functions that is possible in ISO 15926, be it not in a way that is readily suitable for software building. In the case of UO_Centrifugal_Pump, that is a specialization of UO_Pump, that is a specialization of UO_Pressure_Changer we have the following equations (source: The Engineering ToolBox): The head of a pump in metric units can be expressed in metric units as: h = (p_{2} - p_{1})/(ρ g) + v_{2}^{2}/(2*g) where h = total head developed (m) p_{2} = pressure at outlet (N/m^{2 }= Pa) p_{1} = pressure at inlet (N/m^{2 }= Pa) ρ = density (kg/m^{3}) g = acceleration of gravity (9.81) m/s^{2} v_{2} = velocity at the outlet (m/s) Pump efficiency, η (%/100) is a measure of the efficiency with wich the pump transfers useful work to the fluid. η = P_{out} / P_{in} where η = efficiency (%/100) P_{in} = power input (W) P_{out} = power output (W) The power gained by the fluid from a pump or fan can be expressed as: P = Q*(p2-p1) where Q = Volume Flow Rate
VariablesIn this case of simulation the values of the variables are generated by the software and published in the Heat & Material Balance document. These must then be mapped to ISO 15926 templates. Modeling a Unit OperationThe graph below shows, as an overview, how an equation for a Unit Operation can be modeled and how data can be linked to variables in that equation. The colours indicate declarations or templates, see legend at the bottom of the diagram. Example of linking data to an equation for the transfer function of a Unit Operation In cases where the transfer function is unknown the upper part of this diagram has only academic value. In the topic Equations and Variables the above example has been coded in ISO 15926-8 format. The transfer function may also be represented by a diagram, such as: (source: Pumps & Systems) In that case an instance of the template ClassifiedDefinitionOfClassOfIndividualWithInformationRepresentation shall be used: :6CE27C9E4C88499CAD3514D89431AC99 rdf:type tpl:ClassifiedDefinitionOfClassOfIndividualWithInformationRepresentation ; tpl:hasDefined :C4D0C456B6664FF8918D78EA0A606563 ; # e.g. the manufacturer's pump design class tpl:hasDefinition :4D796391F81DF4E338D7820760926EF83 ; # URI of diagram tpl:hasDefinitionType rdl:RDS52223499 ; # DEFINITION OF CENTRIFUGAL PUMP WITH PUMP CURVE meta:valEffectiveDate "2017-05-02T15:17:00Z"^ ^xsd:dateTime
PFD - Process Flow DiagramIf we detail the uppermost, redlined, block in the above BFD ("Amine Treating") we can draw a PFD like this: PFD for Amine Treating Plant Each of the symbols represents a Unit Operation with its own transfer function. The pump marked in red is one of the instances of UO_Centrifugal_Pump discussed above. The linking between these UOs is done by the Streams. Visit https://www.youtube.com/watch?v=vfHOvxfRImo to see a down-to-earth example of the use of a simulator. |