Abstract

In analysis and control of large-scale complex systems, a discrete model plays an important role. In this paper, a probabilistic logic network (PLN) is considered as a discrete model. A PLN is a mathematical model where multivalued logic functions are randomly switched. For a PLN with two kinds of control inputs, the optimal control problem is formulated, and an approximate solution method for this problem is proposed. In the proposed method, using a matrix-based representation for a PLN, this problem is approximated by a mixed integer linear programming problem. In application, real-time pricing of electricity is studied. In real-time pricing, electricity conservation is achieved by setting a high electricity price. A numerical example is presented to show the effectiveness of the proposed method.

1. Introduction

In the last decade, control of large-scale complex systems has attracted considerable attention, where complex nonlinear dynamics are taken into account. In such cases, one of the natural approaches is to approximately solve the control problem of such complex systems using simplification/abstraction techniques (see, e.g., [1]). Specifically, a discrete abstract model plays an important role in analysis and control of large-scale complex systems.

Several discrete models have been proposed so far (see, e.g., [2]). Petri nets, Bayesian networks, and automata-based models are frequently adopted as a mathematical model in analysis of large-scale complex systems. Although Boolean networks (BNs) [3] are frequently adopted as a model for analysis, BNs are recently adopted as a mathematical model in control of large-scale complex systems. In a BN, the state takes a binary value (0 or 1), and the dynamics such as interactions of states are modeled by a set of Boolean functions. In [4], it is pointed out that since a BN is too simple, the behavior of large-scale complex systems such as gene regulatory networks cannot be appropriately modeled. One of the methods to overcome this criticism is to extend Boolean functions to multivalued logic functions. From this viewpoint, several modeling methods using multivalued logic functions have been studied so far (see, e.g., [58]). Furthermore, since the behavior of large-scale complex systems is frequently stochastic by the effects of noise, a probabilistic logic network (PLN), which is an extension of a probabilistic BN (PBN) [9], has been studied so far (see, e.g., [10, 11]). In a PLN, a multivalued logic function is randomly selected from the candidates of functions. We adopt a PLN as a discrete model.

In this paper, first, we formulate the optimal control problem for the PLN with two kinds of control inputs. One of control inputs is a conventional control input, which is included in multivalued logic functions. The other is called here a structural control input, which is included in a given discrete probability distribution. By the structural control input, a discrete probability distribution is controlled. Such a control input has been considered in, for example, [1215].

Next, an approximate solution method for the optimal control problem is proposed. Solution methods have been studied in [10]. However, large sized matrices must be handled. From this fact, it is difficult to directly apply the existing methods to large-scale systems. Hence, it is important to consider a new solution method. To derive an approximate solution method, a matrix-based representation of PLNs is proposed. The authors have proposed a matrix-based representation of BNs [16] and that of probabilistic BNs [13]. However, multivalued logic functions have not been studied so far. Using a matrix-based representation, the original problem is approximated by a mixed integer linear programming (MILP) problem. In the case where there is no conventional control input, the original problem is approximated by a linear programming problem. In [17], it has been proven that the optimal control problem of PBNs is -hard problem, which is much harder than an NP-complete problem. Hence, approximating the optimal control problem of PLNs by an MILP problem is useful for solving that of a wider class of PLNs.

A PLN has several applications such as gene regulatory networks and power systems. As already explained, BNs and PBNs are well known as a model of gene regulatory networks. Logical models with multivalued variables are also used in theoretical analysis of gene regulatory networks. A PLN can be regarded as a generalized model of these mathematical models. In this paper, as one of the other applications, we consider real-time pricing of electricity (see, e.g., [1821]).

A real-time pricing system of electricity is a system that charges different electricity prices for different hours of the day and for different days. Real-time pricing is effective for reducing the peak and flattening the load curve. In general, a real-time pricing system consists of one controller deciding the price at each time and multiple electric consumers such as commercial facilities and homes. If electricity conservation is needed, then the price is set to a high value. Since the economic load becomes high, consumers conserve electricity. Thus, electricity conservation is achieved. In the existing methods, the price at each time is given by a simple function with respect to power consumptions and voltage deviations and so on (see, e.g., [21]). The authors have proposed in [13] a method to model decision making of consumers using a PBN. However, the state of a consumer is given by a binary value, that is, 0 (a consumer conserves electricity) or 1 (a consumer normally uses electricity). A PLN is appropriate as a more precise model of consumers.

Notation. For the nonnegative integer , define the finite set . For the -dimensional vector and the index set , define . For two matrices and , let denote the Kronecker product of and . In addition, for vectors and the index set , define . For example, for two-dimensional vectors and , we can obtainwhere is the th element of . Let denote the matrix whose elements are all one. Let and denote the identity matrix and the zero matrix, respectively. For simplicity of notation, we sometimes use the symbol instead of , and the symbol instead of .

2. Probabilistic Logic Network

First, we explain a multivalued logic network (MVLN). This system is defined bywhere , , is the state, and , , , is the control input. In addition, and are given, and is the discrete time. The sets and are given index sets, and the functionis a given multivalued logic function.

Next, we explain a probabilistic logic network (PLN) (see [10, 11] for further details). A PLN is a generalized version of a probabilistic Boolean network proposed in [9]. In a PLN, the candidates of are given, and, for each , selecting one Boolean function is probabilistically independent at each time. Letdenote the candidates of . The probability that is selected is defined byThen, the relation must be satisfied. Probabilistic distributions are derived from experimental results.

We present a simple example.

Example 1. Consider the PLN with two states , (, ) and no control inputs. Suppose that holds. Functions , and , are given by the truth table in Table 1. Probabilities are given by , and , . We see that the relation is satisfied. In this case, holds. Next, consider the state trajectory. For example, for can be obtained asThis PLN can be equivalently transformed into the discrete-time Markov chain with six states in which the transition probability matrix is given byUsing the transition probability matrix expressing a given PLN, we can consider reachability analysis and optimal control. However, in many cases, the size of the matrix becomes large.

Remark 2. In this paper, we consider the PLN with no time delay. Using additional states, we can easily consider time delays.

3. Problem Formulation

In this section, the optimal control problem for the PLN is formulated. We assume that the value of the control input can be arbitrarily set. However, there is a possibility that there exists no control input satisfying this assumption. In such a case, it is desirable to use the structural control input, which is used in, for example, control theory of gene regulatory networks (see, e.g., [12, 14]). For example, in [12], the structural control input is regarded as an external stimulus, and a discrete probabilistic distribution is switched at each time by the structural control input. In other words, the discrete probabilistic distribution is selected among the set of candidates. In [13], the structural control input is used as the electricity price in real-time pricing systems. By the structural control input, probabilities in a discrete probability distribution are manipulated. Thus, in complex systems, such as gene regulatory networks, power systems, and social systems, it will be desirable to consider a weaker control method using the structural control input. Hence, we consider both the conventional control input and the structural control input.

The structural control input formulated here is added to the probability in (5) as follows:where (the constraint is normalized). For simplicity of discussion, we consider the one-dimensional structural control input, but we may consider the multidimensional structural control input.

Under the above preparation, we consider the following problem.

Problem 3. Suppose that, for the PLN with the conventional control input and the structural control input , the initial state is given. Then, find and minimizing the following cost function:subject to the following two constraints on :In the cost function (9), , , and are weighting vectors whose element is a nonnegative real number, and denotes a conditional expected value.

For simplicity of discussion, we consider the linear cost function (9). We remark that , , and hold. The desired state , the desired conventional control input , and the desired structural control input may be introduced. Then, in the cost function (9), , , and may be replaced with , , and , respectively. In the case of and (i.e., probabilistic Boolean networks), Problem 3 can be rewritten as a polynomial optimization problem (see [22] for further details). However, only few results on optimal control of general PLNs have been obtained so far (see, e.g., [10]). In this paper, an approximate solution method for Problem 3 is proposed. Furthermore, Problem 3 is used in model predictive control (MPC). See Section 5.3 for further details.

Hereafter, the condition in the conditional expected value is omitted.

4. Derivation of Approximate Solution Method

In this section, we derive an approximate solution method for Problem 3. First, a matrix-based representation for PLNs is derived. The obtained representation is an extension of a matrix-based representation for probabilistic Boolean networks proposed in [13]. Next, using the matrix-based representation, Problem 3 is approximated by a mixed integer linear programming (MILP) problem.

4.1. Matrix-Based Representation for PLNs

As a preparation, the notation is defined. Binary variables are introduced. If holds, then holds; otherwise holds. Then, the equality is satisfied. In addition, binary variables are introduced. If holds, then holds; otherwise holds. Then, the equality is satisfied. Using , , and , , defineIn the case of , can be obtained asFirst, consider transforming a given MVLN into a matrix-based representation. Then, the matrix-based representation for is given bywhereThe matrix can be derived from the truth table for using , , and , .

We present a simple example.

Example 4. Consider an MVLN with two states and no control inputs. For , the logic function in Table 1 is given. For , the logic function in Table 1 is given. Using and , logic functions and can be expressed as truth tables in Tables 2 and 3, respectively. From these truth tables, we can obtain the following matrix-based representation of the MVLN:where . Each element of , , is given by a binary value ( or ), and a sum of all elements in each column of is equal to .

Such a matrix-based representation has been proposed in also [68]. The matrix-based representation for one , that is, (13), may be derived by the method in [68]. See also Remark 9.

Next, consider extending the matrix-based representation of an MVLN to that of a PLN. Suppose that the matrix-based representation of the logic function in a given PLN is given by . Then, the expected value of can be obtained aswhere , and the condition in the expected value is omitted. We remark here that the th element of is the probability that holds.

We present a simple example.

Example 5. Consider the PLN in Example 1. In this system, there are no control input and no structural control input. Using the matrix-based representation, the expected value of can be obtained aswhere ,

4.2. Reduction to an MILP Problem

Using the matrix-based representation (16), consider transforming Problem 3. First, we focus on the structural control input . Using (8), the system (16) can be rewritten asNoting that the input constraint is imposed as , the structural control input can be regarded as the expected value of some binary probabilistic variable . Then,holds. Here, according to the definitions of and , we defineThus, we can obtainThen, Problem 3 can be equivalently rewritten as the following problem.

Problem 6. Suppose that, for the PLN with the conventional control input and the structural control input , the initial state is given. Then, find and minimizing the cost function (9) subject to (10) and (22).

By a simple calculation, Problem 6 can be rewritten as a polynomial optimization problem. However, it will be difficult to solve a polynomial optimization problem for large-scale PLNs. In this paper, we focus on the relations among , , and of (14) and of (21). Using these relations, we derive the relaxed problem for Problem 6. The relaxed problem is an MILP problem and can be solved faster than a polynomial optimization problem.

First, we present a simple example.

Example 7. Consider in Example 5. Then, noting that holds, we can obtainIn a similar way, we can obtainIn addition, a sum of all elements in is equal to . Equalities obtained can be used as constraints in the relaxed problem.

Next, consider a general case. Noting that holds, we can obtain the following constraints for :whereIn a similar way, we can obtain the following constraints for :From the definition of , that is, (21), the matrices can be obtained by replacing with in the matrices . The matrix can be obtained asThus, we can obtain the following problem as a relaxed problem of Problem 6.

Problem 8. Suppose that, for the PLN with the conventional control input and the structural control input , the initial state is given. Then, find and minimizing the cost function (9) subject to (10) and (22)–(27).

By a simple calculation, Problem 8 can be equivalently rewritten as an MILP problem. In this MILP problem, continuous decision variables are , , , , and binary decision variables are , . By solving the MILP problem, we can evaluate the lower bound of the optimal value of the cost function in Problem 3. In this paper, we provide only an approximate solution method. However, since the control input is obtained by solving an MILP problem, the proposed solution method enables us to solve the optimal control problem for several classes of PLNs. In the case where there is no conventional control input, Problem 8 with only the structural control input is equivalent to a linear programing problem.

Remark 9. In analysis/control methods in [68], the matrix-based representation for , which can be obtained from that for one , is used. As a result, the matrix with the size of must be manipulated. In the proposed method, matrix with the size of is used (). Thus, the proposed method enables us to use only matrices with the smaller size.

Remark 10. The difference between Problems 3 and 8 can be evaluated using null spaces of matrices , and . Details are one of future works. If and can be uniquely derived from (25) and (27), then Problems 3 and 8 are equivalent.

5. Application to Real-Time Pricing of Electricity

In this section, we consider real-time pricing of electricity as an application of optimal control of PLNs. First, the outline of real-time pricing is explained. Next, decision making of consumers is modeled by a PLN. Finally, a numerical example is presented.

5.1. Outline

The outline of real-time pricing systems studied in this paper is illustrated in Figure 1. This system is composed of one controller (the independent system operator, ISO) and multiple electric consumers. If electricity conservation is needed, then the ISO decides to set the price to a high value. To decrease the economic load, consumers conserve electricity. As a result, electricity conservation is achieved. Thus, real-time pricing plays an important role in energy management systems.

In the existing methods of real-time pricing, the price at each time is given by a simple function with respect to power consumptions and voltage deviations and so on [21]. However, it is important to determine the electricity price based on prediction using a mathematical model of electricity consumption. From this viewpoint, in [23, 24], probabilistic models for real-time pricing have been proposed. On the other hand, in [13], a method to model decision making of consumers by a PBN has been proposed. However, the state of a consumer is given by a binary value, that is, 0 (a consumer conserves electricity) or 1 (a consumer normally uses electricity). In this paper, we consider extending the method in [13] to the method using a PLN. As a mathematical model of consumers, a PLN is more appropriate than a PBN. It is one of the future efforts to discuss the relation between probabilistic models in [23, 24] and a PLN.

5.2. Model

Consider modeling the set of consumers as a PLN. The number of consumers is given by . We suppose that the state for consumer is -valued; that is, (for simplicity, does not depend on ). The state impliesThe value of is determined from power consumption of consumer . For consumer , we consider the following PLN:In this model, there is no conventional control input, and the structural control input corresponds to the electricity price. The function implies that power consumption of consumer increases. The function implies that power consumption of consumer is not changed. The function implies that power consumption of consumer decreases. Thus, decision making of consumers can be modeled by a PLN. In [23, 24], it has been shown that the behavior of power consumption is probabilistic based on experimental data. Hence, it is appropriate to adopt a PLN as a model of consumers. We remark that the above functions are an example of models for decision making. Depending on real situations, we may use other logic functions.

Using the PLN-based model obtained, we consider the following problem:(i)find a time sequence of the price such that consumers conserve electricity as much as possible. However, it is not desirable that the price is too high.The condition that consumers conserve electricity as much as possible can be characterized by . In other words, power consumption is expressed by . Hence, this problem can be formulated as Problem 3 by appropriately setting the weights and .

5.3. Numerical Example

We present a numerical example. Here, Problem 8 is repeatedly solved according to the following procedure of model predictive control (MPC).

Procedure of MPC

Step 1. Set , and give .

Step 2. Derive by solving Problem 8.

Step 3. Apply only to the system.

Step 4. According to (i.e., the discrete probability distribution for ), obtained by using , derive randomly. Set , and return to Step 2.

Consider the case of and . See the Appendix for parameters and . For , the constraint is imposed. Under this constraint, (10) are satisfied. Parameters in Problem 3 are given as follows:Next, we present the computation result. According to the above procedure of MPC, 100 samples of the state trajectory in the time interval were generated. Figure 2 shows the average trajectory of 100 samples. Figure 3 shows one sample of the price (the structural control input) obtained. From these figures, we see that the state becomes small by manipulating the price. In this example, 2000 LP problems were solved. Then, the worst computation time was 0.2548 (sec), and the mean computation time was 0.1297 (sec), where we used Gurobi Optimizer 5.6.2 as an LP solver. Thus, Problem 8 can be solved fast.

Finally, we discuss the optimality. Consider solving Problem 8 once under the above setting. When the obtained control input is applied to the system, the value of the cost function in Problem 3 was . In the case of (i.e., the constant input), the value of the cost function in Problem 3 was . In the case of , the value of the cost function in Problem 3 was . From these values, we see that the obtained control input is more effective than trivial control inputs.

6. Conclusion

In this paper, we discussed optimal control of probabilistic logic networks (PLNs) and its application to real-time pricing of electricity. First, in the problem formulation, both the conventional control input and the structural control input were introduced. Next, an approximate solution method was proposed. This method is a sophisticated and generalized version of the method proposed in [13]. Finally, we considered real-time pricing of electricity as an application, and we presented a numerical example. The proposed method provides us a new control method for large-scale complex systems.

There are several open problems. It is significant to develop the identification method of PLNs. It is also significant to evaluate the accuracy of an approximation from the theoretical viewpoint.

Appendix

Parameters in Numerical Example

Parameters and in the numerical example are given as follows:These parameters in the numerical example are given artificially. Although finding these parameters from real data is important, this topic is one of the future efforts.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgment

This research was partly supported by JST, CREST.