向智能电网的转型给电力系统的设计和运行引入了复杂性。这种复杂性有可能导致与安全相关的损失,例如,这些损失可能是由系统之间无法预见的交互和网络攻击引起的。因此,重要的是识别潜在的损失及其根本原因,理想情况下应在系统设计期间进行。这并非易事,需要一种系统化的方法。此外,由于复杂性,可能无法推理出可能导致损失的情况;在这种情况下,需要进行实验。在这项工作中,我们展示了如何有效地整合两种互补的演绎方法来解决这些问题:系统理论过程分析(STPA)是一种用于识别与安全相关的危险场景的系统方法;而 ERIGrid Holistic Test Description (HTD) 提供了一种结构化方法来细化和记录实验。结合这些方法的目的是实现一种系统化的危险分析方法,使其发现能够通过实验进行测试。我们通过一个低压配电网络的无功功率电压控制案例研究,演示了这种方法的使用。
英文摘要:
The transition to the smart grid introduces complexity to the design and operation of electric power systems. This complexity has the potential to result in safety-related losses that are caused, for example, by unforeseen interactions between systems and cyber-attacks. Consequently, it is important to identify potential losses and their root causes, ideally during system design. This is non-trivial and requires a systematic approach. Furthermore, due to complexity, it may not possible to reason about the circumstances that could lead to a loss; in this case, experiments are required. In this work, we present how two complementary deductive approaches can be usefully integrated to address these concerns: Systems Theoretic Process Analysis (STPA) is a systems approach to identifying safety-related hazard scenarios; and the ERIGrid Holistic Test Description (HTD) provides a structured approach to refine and document experiments. The intention of combining these approaches is to enable a systematic approach to hazard analysis whose findings can be experimentally tested. We demonstrate the use of this approach with a reactive power voltage control case study for a low voltage distribution network.
Smart Contracts Formal Verification: A Systematic Literature Review
Instituto de Investigaciones en Matemáticas Aplicadas y en Sistemas - Facultad de Ingeniería, Universidad Nacional Autónoma de México(墨西哥国立自治大学数学应用与系统研究所-工程学院)
Building Executable Secure Design Models for Smart Contracts with Formal Methods
智能合约之所以有吸引力,是因为它们是各方之间的自动执行的商业协议,具有预定义和不可变的义务和权利。然而,与所有软件一样,智能合约可能因设计缺陷而包含漏洞,其中一方可能会利用这些漏洞来欺骗其他方。在本文中,我们展示了一种使用形式化方法为智能合约构建安全设计模型的系统方法。为了构建安全模型,我们首先将参与方的行为建模为状态机,然后,我们对预定义的合同义务和权利进行建模,这些合同规定了状态机之间的交互以实现业务目标。在此之后,我们在TLA+(动作的时间逻辑)中说明了可执行的安全模型设计模式,以在设计层面上针对状态机和义务和权利方面的众所周知的智能合约漏洞。这些漏洞存在于以太坊合约中,包括Call to the unknown、Gasless send、Reentrancy、Lost in the transfer和Unpredictable state。由此产生的TLA+规范称为安全模型。我们说明了我们的方法来检测在设计层面上使用房地产合同的例子的漏洞。