1,196 research outputs found

    LTS Semantics for Compensation-based Processes

    Get PDF
    Business processes design is an error-prone task often relying on long-running transactions with compensations. Unambiguous formal semantics and flexible verification tools should be used for early validation of processes. To this aim, we define a small-step semantics for the Sagas calculus according to the so-called coordinated interruption policy. We show that it can be tuned via small changes to deal with other compensation policies and discuss possible enhancements

    Static vs Dynamic SAGAs

    Get PDF
    SAGAs calculi (or simply SAGAs) have been proposed by Bruni et al. as a model for long-running transactions. The approach therein can be considered static, while a dynamic approach has been proposed by Lanese and Zavattaro. In this paper we first extend both static SAGAs (in the centralized interruption policy) and dynamic SAGAs to deal with nesting, then we compare the two approaches

    ContextWorkflow: A Monadic DSL for Compensable and Interruptible Executions

    Get PDF
    Context-aware applications, whose behavior reactively depends on the time-varying status of the surrounding environment - such as network connection, battery level, and sensors - are getting more and more pervasive and important. The term "context-awareness" usually suggests prompt reactions to context changes: as the context change signals that the current execution cannot be continued, the application should immediately abort its execution, possibly does some clean-up tasks, and suspend until the context allows it to restart. Interruptions, or asynchronous exceptions, are useful to achieve context-awareness. It is, however, difficult to program with interruptions in a compositional way in most programming languages because their support is too primitive, relying on synchronous exception handling mechanism such as try-catch. We propose a new domain-specific language ContextWorkflow for interruptible programs as a solution to the problem. A basic unit of an interruptible program is a workflow, i.e., a sequence of atomic computations accompanied with compensation actions. The uniqueness of ContextWorkflow is that, during its execution, a workflow keeps watching the context between atomic actions and decides if the computation should be continued, aborted, or suspended. Our contribution of this paper is as follows; (1) the design of a workflow-like language with asynchronous interruption, checkpointing, sub-workflows and suspension; (2) a formal semantics of the core language; (3) a monadic interpreter corresponding to the semantics; and (4) its concrete implementation as an embedded domain-specific language in Scala

    A compensating transaction example in twelve notations

    Get PDF
    The scenario of business computer systems changed with the advent of cross-entity computer interactions: computer systems no longer had the limited role of storing and processing data, but became themselves the players which actuated real-life actions. These advancements rendered the traditional transaction mechanism insufficient to deal with these new complexities of longer multi-party transactions. The concept of compensations has long been suggested as a solution, providing the possibility of executing “counter”-actions which semantically undo previously completed actions in case a transaction fails. There are numerous design options related to compensations particularly when deciding the strategy of ordering compensating actions. Along the years, various models which include compensations have emerged, each tackling in its own way these options. In this work, we review a number of notations which handle compensations by going through their syntax and semantics — highlighting the distinguishing features — and encoding a typical compensating transaction example in terms of each of these notations.peer-reviewe

    cJoin: join with communicating transactions

    Get PDF
    This paper proposes a formal approach to the design and programming of Long Running Transactions (LRT). We exploit techniques from process calculi to define cJoin, which is an extension of the join calculus with few well-disciplined primitives for LRT. Transactions in cJoin are intended to describe the transactional interaction of several partners, under the assumption that any partner executing a transaction may communicate only with other transactional partners. In such case, the transactions run by any party are bound to achieve the same outcome (i.e., all succeed or all fail). Hence, a distinguishing feature of cJoin, called dynamic joinability, is that ongoing transactions can be merged to complete their tasks and when this happens either all succeed or all abort. Additionally, cJoin is based on compensations, i.e., partial executions of transactions are recovered by executing user-defined programs instead of providing automatic roll-back. The expressiveness and generality of cJoin is demonstrated by many examples addressing common programming patterns. The mathematical foundation is accompanied by a prototype language implementation, which is an extension of the jocaml compiler

    Decidability Results for Dynamic Installation of Compensation Handlers

    Get PDF
    International audienceDynamic compensation installation allows for easier specification of fault handling in complex interactive systems since it enables to update the compensation policies according to run-time information. In this paper we show that in a simple π-like calculus with static compensations the termination of a process is decidable, but it is undecidable in one with dynamic compensations. We then consider three commonly used patterns for dynamic compensations, showing that process termination is decidable for parallel and replacing compensations while it remains undecidable for nested compensations

    Demand Dispatch Control for Balancing Load with Generation

    Get PDF
    There are different methods to implement demand management. In this thesis, a Demand Side Frequency Droop is proposed to calculate the require power reduction. Moreover, Demand Dispatch (DD) can provide ancillary service to the grid and maintains the power system frequency. Besides, to improve the operation of DD, the renewable resources and the storage devices are integrated to the DD. The proposed methods in this thesis have been validated through PSCAD software simulation and MATLAB

    Development Needs in Automatic Fault Location, Isolation and Supply Restoration of MicroSCADA Pro DMS600

    Get PDF
    Tightened reliability requirements for the electricity distribution are causing distribution system operators to improve the quality of supply by renovating the network. To achieve a weather-proof distribution network by the end of year 2028, major investments must be made by means of replacing overhead lines with cables and increasing the level of automation in the network. Since the renovation process is rather slow and expensive, DSOs must obtain cost savings in distribution network operation by utilizing existing network automation more efficiently. One of the main solutions is to automatize the fault management and thereby reduce outage duration experienced by the customer. Traditional fault management comprises the co-operation of the network control center and field crews working along the distribution network. An increasing amount of network automation, such as remote-controlled disconnectors, sectionalizing reclosers and fault detectors, is improving the response time of medium network faults when the operator can isolate the fault remotely from the control center. However, multiple simultaneous faults in major electricity disruption can cause personnel of the control center to be overburdened with fault handling and dispatching field crews. Therefore, automatic Fault Location, Isolation, and supply Restoration (FLIR) functionality is considered as a beneficial tool to assist the network operator. While the FLIR performs the first steps of fault management, operator is freed to conduct the operation of field crews repairing failures. MicroSCADA Pro is a product family for electricity distribution control and supervisory by ABB. The current version of MicroSCADA Pro DMS600 4.5 already includes functionality for automatic fault isolation and supply restoration, but it is not used by any DSOs due to functional imperfections. The current fault detection, isolation and supply restoration (FDIR) functionality requires an exact fault location inferred by fault current measurements or fault indicator operations and therefore, it can rarely operate due to lack of initial data. To achieve an efficient operation, a trial switching sequence must be introduced as part of the existing functionality. The method of trial switching is normally used by the operator when fault cannot be located according to measurements and indications. A basic principle of the trial switchings is to divide faulty feeder into minor sections and close the substation circuit breaker against the suspected fault. This is continued until the circuit breaker trips and the fault has been located and isolated into a single disconnector zone. The research for this thesis was carried out by interviews for Finnish DSOs to gather requirements and restrictions for the FLIR functionality. The main objective of the interview process was to familiarize the fault management process of a network control center operator, so as human-like operation of the FLIR could be obtained. Interviews gathered the most important development needs and possible restrictions to ensure the most fluent operation between automation and the network control center operators. For example, automation may not be wanted to restore supply from adjacent feeders during major disturbance, since multiple fault can occur and cause also backup feeder to trip and increase the faulty area. Automatic functionality should not also disturb the operation of network control center, and thus separate fault handling areas should be determined for FLIR to operate

    Development of Electricity Networks: Essays on Incentive Regulation and the New Role of Consumers

    Get PDF
    The electricity sector is undergoing a remarkable change, supporting the overall transition required to meet policy objectives of lower carbon emissions as well as a safe and secure supply of electricity in a cost-effective manner for consumers. Electricity networks are part of the infrastructure vital to a functioning modern economy. This thesis considers specific elements of ongoing developments related to electricity networks, namely the changes in the economic regulation of networks and the new role for consumer. Achieving environmental and climate change policy targets is reliant on electricity networks adapting to changes and embracing an increased role in the electricity supply chain. The need for sensitivity to social justice and the preferences of electricity end-consumers is relatively new to network owners but is becoming increasingly important. Four main chapters, employing both theoretical and empirical economic methods, quantitative and qualitative, explore and advance aspects of incentive regulation and, particularly, the role of consumers
    • …
    corecore