How to derive a Model template from the existing one.

Sometimes we need create new event model, instead of using the existing one,let's take the most popular event model in EGS "601" as an example:

  1. Open Plant Application Administrator
  2. Expan "Global Configuration" Node
  3. Click on "Administer Models" Sub Node, the "Event Detection Model manager" window will show up:
  4. Select "Generic" in "Event Type" and then click on "Search" button
  5. Select "601" and then Click "New"
  6. Then enter the general info into "Model General" Tab, this info includes
    • Model Name
    • Model Type
    • Model Number
  7. Then switch to tab "Model Properties", you can assosciate the historian tags here
  8. Save and close it.

After that you can go to the “Event Configuration”window of that production unit to use it.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Sure, here's an example implementation of the classes Circle and Cylinder in Python: ```python import math class Circle: def __init__(self, radius): self.radius = radius def area(self): return math.pi * self.radius ** 2 class Cylinder(Circle): def __init__(self, radius, height): super().__init__(radius) self.height = height def surface_area(self): return 2 * math.pi * self.radius * self.height + 2 * super().area() def volume(self): return super().area() * self.height # Example usage radius = float(input("Enter the radius of the circle: ")) circle = Circle(radius) print(f"The area of the circle is {circle.area()}") height = float(input("Enter the height of the cylinder: ")) cylinder = Cylinder(radius, height) print(f"The surface area of the cylinder is {cylinder.surface_area()}") print(f"The volume of the cylinder is {cylinder.volume()}") ``` In the main function, we first create a `Circle` object with the given radius and compute its area using the `area` method. Then, we create a `Cylinder` object with the same radius and the given height. We can use the `surface_area` and `volume` methods of the `Cylinder` class to compute the surface area and volume of the cylinder, respectively, using the inherited `area` method of the `Circle` class. Note that the `super()` function is used to call the methods of the parent class (`Circle`) in the `__init__`, `surface_area`, and `volume` methods of the `Cylinder` class. This allows us to avoid duplicating code and make use of the functionality already implemented in the `Circle` class.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值