main content

plan nuclear fuel disposal using multiobjective optimization -凯发k8网页登录

this example shows how to formulate and solve a large nonlinear multiobjective problem that has some integer constraints. the problem is adapted from montonen, ranta, and mäkelä . the goal is to dispose of spent nuclear fuel, with objectives of minimizing cost, minimizing the amount of time between removal of a spent nuclear fuel assembly from a reactor until it is buried, and minimizing the number of spent fuel assemblies in storage at any one time. the problem is a multiperiod planning problem, and each period is five years long.

model overview

a nuclear reactor creates waste products that must be buried for long-term disposal. these waste products are fuel rod assemblies containing spent nuclear fuel. the assemblies are hot and radioactive when taken from the reactor, and gradually become less so. at period t, the radiation level is given by a double-exponential decay function with parameter vector u:

radiation=u1exp(-u2t) u3exp(-u4t).

each assembly remains in a pool of water in the reactor building until it is cool enough to be transferred to an interim storage facility, where it is again placed in a pool of water. when the assembly is cooled further, it can be encapsulated with other assemblies in a copper-iron canister and then buried in a disposal tunnel. all disposal tunnels connect to a central tunnel.

this figure illustrates the stages of the nuclear fuel assemblies from reactor to final disposal.

nuclearmodel.png

the problem variables relate to a schedule where each unit of time represents 5 years. time periods begin at 1.

constants associated with model

z is the last time period in which fuel assemblies are removed from the reactor. removal periods are 1:z. in [1], z = 11. each period is 5 years, so the last period in which fuel assemblies are removed is at time 55.

n is the last time period in which canisters are buried. burial periods are 1:n. in [1], n = 19. each period is 5 years, so the last period in which canisters can be buried is at time 95.

z = 11;
n = 19;

a is the period of the last removal before the first disposal.

b is the disposal period in which the last removal occurs.

a = 5;
b = 6;

r is the minimum number of periods to store an assembly.

r = 4;

k is the maximum number of assemblies to fit into one canister.

k = 4;

t is the minimum number of canisters disposed in one period.

t = 50;

u is the maximum number of canisters disposed in one period.

u = 500;

q is the length of a disposal tunnel in meters.

q = 350;

m(i) is the number of assemblies removed at time i.

m = 300 - 60*(-1).^(1:z); % 360 for odd indices, 240 for even

a(i,j) is the storage time of an assembly from removal i in period j, where i <= z and j <= n.

a = zeros(z,n);
for i = 1:z
    for j = i:n
        a(i, j) = j - i;
    end
end

p(i,j) is the decay heat power of an assembly (in watts) from removal i in period j, where i <= z and j <= n.

% the following parameters fit p_{i,j} of table a2 from [1] to within 1 in each
% entry (fractional error <= 1/250).
u = [503 0.1346 260 0.0231];
myfun = @(d)round(u(1)*exp(-u(2)*d)   u(3)*exp(-u(4)*d));
pp = myfun(1:n);
pij = zeros(z,n);
for i = 2:z
    for j = 1:i
        pij(i,j) = 1e3; % dummy values because j >= i does not occur.
    end
end
for i=1:z
    pij(i,i:end) = pp(1:(n-i 1)); % same decay profile for all removal times
end

pmaxup is the upper bound on the average power of a canister, and pmaxlow is the lower bound.

pmaxup = 1830;
pmaxlow = 1300;

ddtup is the upper bound on the distance between disposal tunnels, and ddtlow is the lower bound.

ddtup = 50;
ddtlow = 25;

dcaup is the upper bound on the distance between canisters in a disposal tunnel, and dcalow is the lower bound.

dcaup = 15;
dcalow = 6;

the costs associated with the operations are not given in [1]. this example assumes the following values:

  • cas is the storage cost for one assembly per period.

  • cis is the storage cost for one assembly per period in interim storage.

  • csp is the cost of a storage place per assembly.

  • cca is the cost of a canister.

  • cef is the cost of operating the encapsulation facility per period.

  • cdt is the cost of a disposal tunnel per meter.

  • cct is the cost of the central tunnel per meter.

cas = 50;
cis = 60;
csp = 10;
cca = 1200;
cef = 300;
cdt = 3000;
cct = 5000;

optimization variables for problem

to create the problem for matlab®, use the problem-based approach. define continuous variables for most quantities.

this figure illustrates the variables associated with the movement of the assemblies.

nuclearvariables.png

x(i,j) is the number of assemblies removed at time i and disposed at time j, i <= z and j <= n.

x = optimvar("x",z,n,lowerbound=0,upperbound=u*k);

z(i,j) is the number of assemblies removed at time i and in storage at time j, i <= z and j <= n.

z = optimvar("z",z,n,lowerbound=0,upperbound=u*k*n/2);

y(j) is the number of canisters disposed at time j <= n.

y = optimvar("y",n,lowerbound=0,upperbound=u);

pmax is the maximum average power of a canister.

pmax = optimvar("pmax",lowerbound=pmaxlow,upperbound=pmaxup);

this figure illustrates quantities associated with the disposal tunnels.

disposaltunnel.png

ddt is the distance between adjacent disposal tunnels.

ddt = optimvar("ddt",lowerbound=ddtlow,upperbound=ddtup);

dca is the distance between adjacent canisters in a disposal tunnel. you compute this distance later on, in the problem constraints section of this example, using the function g.

this figure relates to the encapsulation times.

encapsulation.png

specify the following variables as integer type binary variables, which have lower bounds of 0 and upper bounds of 1.

ej(j) indicates that the encapsulation facility is in operation during the period j <= n.

ej = optimvar("ej",n,type="integer",lowerbound=0,upperbound=1);

ejon(j) indicates that encapsulation starts at the beginning of period j <= n.

ejon = optimvar("ejon",n,type="integer",lowerbound=0,upperbound=1);

ejoff(j) indicates that encapsulation ends at the beginning of period j <= n.

ejoff = optimvar("ejoff",n,type="integer",lowerbound=0,upperbound=1);

this figure relates to the times when assemblies can be disposed, rij = 1. these times start when ejon = 1 and end when sij = 1.

removaltimes.png

sij(i,j) indicates that assemblies removed at time i can no longer be disposed starting at the beginning of time j, i <= z and j <= n.

sij = optimvar("sij",z,n,type="integer",lowerbound=0,upperbound=1);

rij(i,j) indicates that assemblies removed at time i can be disposed at time j, i <= z and j <= n.

rij = optimvar("rij",z,n,type="integer",lowerbound=0,upperbound=1);

all optimization variables and problem parameters are now defined.

problem constraints

create an optimization problem to hold the objective and constraints.

prob = optimproblem;

the constraint numbers match the equations in [1]. the first three constraints relate to the number of assemblies in interim storage.

jnot1 = 2:n;
prob.constraints.cons10 = z(:,1) - m(:)   x(:,1) == 0;
prob.constraints.cons11 = z(:,jnot1) - z(:,(jnot1 - 1))   x(:,jnot1) == 0;
prob.constraints.cons12 = z(:,n) == 0;

set the constraint that all assemblies are disposed once.

prob.constraints.cons13 = sum(sij,2) == 1;

define the variable rij by setting the following constraints.

cons15 = optimconstr(z,n);
cons15(:,1) = rij(:,1) == -sij(:,1)   ejon(1); % equation 14
cons15(:,jnot1) = rij(:,jnot1) == ...
    rij(:,jnot1-1) - sij(:,jnot1)   repmat(ejon(jnot1)',z,1); % equation 15
prob.constraints.cons15 = cons15;

set the constraint that disposal occurs only during times when the encapsulation facility is in operation.

cons16 = rij <= repmat(ej', z, 1);
prob.constraints.cons16 = cons16;

specify the constraint that production capacity is not exceeded.

prob.constraints.cons17 = x <= u*k*rij;

the next constraint enforces that assemblies are cool enough before disposal.

prob.constraints.cons18 = x.*(a - r) >= 0;

the following constraints relate to the encapsulation facility. these constraints enforce that the facility is turned on and off only once, which means that all canisters are encapsulated in one run,

prob.constraints.cons19 = sum(ejon) == 1;
prob.constraints.cons20 = sum(ejoff) == 1;

define variable ej by setting the following constraints.

cons21 = optimconstr(n);
cons21(1) = ej(1) == ejon(1) - ejoff(1); % equation 21
cons21(jnot1) = ej(jnot1) == ...
    ej(jnot1 - 1)   ejon(jnot1) - ejoff(jnot1); % equation 22
prob.constraints.cons21 = cons21;

set constraints that the number of canisters is sufficient for disposal, does not exceed production capacity, and obeys the minimum production constraint.

prob.constraints.cons23 = y' >= (1/k)*sum(x,1);
prob.constraints.cons24 = y <= u*ej;
jnotn = 1:(n-1);
prob.constraints.cons25 = y(jnotn) >= t*(ej(jnotn) - ejoff(jnotn   1));

regarding the disposal facility, set the constraint that the heat power of canisters is allowable.

prob.constraints.cons26 = sum(pij.*x,1) <= pmax*y';

specify a nonlinear constraint on the distance between buried canisters. the function is piecewise linear, and is defined using the max function, which is not a supported operation for optimization expressions. therefore, use fcn2optimexpr to place the constraint into prob.

g = @(pmax,ddt)max([-2.26911*ddt   0.00675*pmax   54.5288,...
    -0.05833*ddt   0.00596*pmax - 0.727083,...
    -0.14*ddt   0.17701*pmax - 350.651]);
dca = fcn2optimexpr(@(pmax,ddt)g(pmax,ddt),pmax,ddt);
prob.constraints.cons29a = dca >= dcalow;
prob.constraints.cons29b = dca <= dcaup;

cost objective

the first objective for this multiobjective problem is the cost, which has seven components.

cost = optimexpr(7,1);

1. storage cost of assemblies. this cost is the sum of the cost per unit time multiplied by the length of time each assembly is stored.

cost(1) = cas*sum(a.*x,"all");

2. cost of interim storage. this cost is j*ejoff(j) for the one component of ejoff that is 1.

cost(2) = cis*max(ejoff(1)–1,2*ejoff(2)–1,3*ejoff(3)–1,...,n*ejoff(n)–1).

to represent this expression briefly, represent cost(2) = cis*u for a new optimization variable u, along with the constraint

ucons = u >= ((1:n)'.*ejoff) – 1.

u = optimvar("u",lowerbound=0);
cost(2) = cis*u;
ucons = u >= ((1:n)'.*ejoff) - 1;
prob.constraints.ucons = ucons;

3. cost of positions for assembly storage. cost(3) can be represented by csp*v1, where v1 is a new optimization variable, along with the constraints

v1 >= sum(m)

v1 >= sum_{i=1}^j z(i,j) for each 1 <= j <= n

v1 >= sum_{i=1}^z z(i,j) for each b <= j <= n.

create these costs and associated constraints.

v1 = optimvar("v1",lowerbound=0);
cost(3) = csp*v1; % include the three v1 constraints given below.
v1consa = v1 >= sum(m);
bmin1 = 1:(b-1);
v1consb = optimconstr(b-1);
for j=bmin1
    v1consb(j) = sum(z(1:a j,j)) <= v1;
end
ell = b:n;
v1consc = sum(z(:,ell),1) <= v1;
prob.constraints.v1consa = v1consa;
prob.constraints.v1consb = v1consb;
prob.constraints.v1consc = v1consc;

4. cost of canisters. this cost is the cost per canister times the total number of canisters buried.

cost(4) = cca*sum(y);

5. cost of running the encapsulation facility. this cost is the cost per unit time multiplied by the length of time the facility operates.

cost(5) = cef*sum(ej);

6. cost of disposal tunnels. this is the cost per unit length times the length between canisters times the total number of canisters buried.

cost(6) = cdt*dca*sum(y);

7. cost of central tunnel. this cost is the cost per unit length times the required length of the central tunnel. the number of canisters that can be buried in one disposal tunnel is its length q divided by the distance between canisters dca. the length of the central tunnel is proportional to the number of buried canisters sum(y) and inversely proportional to q/dca, and has cost proportional to cct.

cost(7) = cct/q*ddt*dca*sum(y);

the total cost is the sum of the seven cost components. to change the scale of the total cost to match that of the other objectives, take the logarithm of the sum.

prob.objective.cost = log(sum(cost));

safety objectives

the problem has two objectives related to safety. objective 2, named safety1, tries to minimize the maximum storage time over all removals. objective 3, named safety2, tries to stop the disposal as early as possible. define these two objectives using the helper functions max1 and max2, which appear at the .

prob.objective.safety1 = fcn2optimexpr(@max1,a,sij);
% minimize maximum storage time, objective (2) in [1]
prob.objective.safety2 = fcn2optimexpr(@max2,ejoff);
% stop disposal as early as possible, objective (5) in [1]

set options

set the options for a pareto plot as the solver proceeds. because the problem has over 900 variables, set options to use a population size of 500, which is larger than the default. also, because the problem contains binary variables, use the mutationgaussian mutation function. this mutation function works better than the default mutationpower for binary variables.

opts = optimoptions("gamultiobj",plotfcn="gaplotpareto",populationsize=5e2,...
    mutationfcn=@mutationgaussian);

run problem

the problem formulation is complete, and the options are set for this multiobjective problem. run the problem.

rng default % for reproducibility
[sol,fval,exitflag,output] = solve(prob,options=opts);
solving problem using gamultiobj.
optimization terminated: average change in the spread of pareto solutions less than options.functiontolerance.
xlabel("cost")
ylabel("safety 1")
zlabel("safety 2")

the pareto plot shows a clear tradeoff between cost and safety 1. the true cost is the exponential of the amount shown, so the tradeoff is more severe than illustrated.

examine solution

gamultiobj finds several feasible solutions with varying fitness function values. to find the control variables associated with the solutions, use the data tips.

datatips.png

after activating data tips, click the upper-left solution.

nuclear_newmut1.png

the index of the selected point is 1. the variables associated with this point are in sol(1).

examine the x variables associated with this solution. recall that x(i,j) are the removals at time i that are disposed at time j.

disp(sol(1).x)
  columns 1 through 12
         0         0         0         0   -0.0000         0         0         0         0         0         0         0
         0         0         0         0         0    0.0000         0         0         0         0         0         0
         0         0         0         0         0         0         0         0         0         0         0         0
         0         0         0         0         0         0         0   -0.0000         0         0         0         0
         0         0         0         0         0         0         0         0   -0.0000         0         0         0
         0         0         0         0         0         0         0         0         0    0.0000         0         0
         0         0         0         0         0         0         0         0         0         0   -0.0000         0
         0         0         0         0         0         0         0         0         0         0         0    0.0000
         0         0         0         0         0         0         0         0         0         0         0         0
         0         0         0         0         0         0         0         0         0         0         0         0
         0         0         0         0         0         0         0         0         0         0         0         0
  columns 13 through 19
         0         0         0         0  228.4792  131.5208         0
         0         0         0         0         0  240.0000         0
         0         0         0         0         0  360.0000         0
         0         0         0         0         0  240.0000         0
         0         0         0         0         0  360.0000         0
         0         0         0         0         0  240.0000         0
         0         0         0         0  354.0977    5.9023         0
         0         0         0         0  228.2471   11.7529         0
   -0.0000         0         0         0         0  360.0000         0
         0    0.0000         0         0  240.0000         0         0
         0         0         0         0  360.0000         0         0

clearly, the x schedule is not restricted to integer values. view the sums of the x schedule over disposals compared to the removal quantities m(:).

disp([sum(sol(1).x,2),m(:)])
  360.0000  360.0000
  240.0000  240.0000
  360.0000  360.0000
  240.0000  240.0000
  360.0000  360.0000
  240.0000  240.0000
  360.0000  360.0000
  240.0000  240.0000
  360.0000  360.0000
  240.0000  240.0000
  360.0000  360.0000

the x schedule accounts for all removals.

what are the times when the encapsulation facility is in operation?

disp(sol(1).ej')
  columns 1 through 12
         0         0         0         0         0         0         0         0         0         0         0         0
  columns 13 through 19
         0         0         0         0    1.0000    1.0000         0

the encapsulation runs for times 17 and 18.

what is the distance between disposal tunnels?

disp(sol(1).ddt)
   33.1986

the distance is about halfway between its lower bound of 25 and its upper bound of 50.

what is the dollar cost of the schedule? to find out, calculate exp(sol(1).cost), because sol(1).cost is the logarithm of the total disposal cost.

disp(exp(sol(1).cost))
   2.0943e 07

the cost is about $21 million.

examine the point in the pareto set with the lowest value of objective 2.

nuclear_newmut2.png

the monetary cost of this operating point is much higher.

disp(exp(sol(5).cost))
   1.2735e 08

the monetary cost is about $127 million, which is over five times the previous value. but the gain is that objective 2 is 11 instead of 16, which corresponds to waste burial that is 25 years earlier. earlier burial can be considered safer.

view the schedule of x for this solution.

disp(sol(5).x)
  columns 1 through 12
         0         0         0         0  360.0000         0         0         0         0         0         0         0
         0         0         0         0         0    0.0000  240.0000         0         0         0         0         0
         0         0         0         0         0         0    0.0000   -0.0000         0         0  360.0000         0
         0         0         0         0         0         0         0   -0.0000         0    0.0000         0         0
         0         0         0         0         0         0         0         0  227.2852         0         0         0
         0         0         0         0         0         0         0         0         0  240.0000         0         0
         0         0         0         0         0         0         0         0         0         0    0.0000         0
         0         0         0         0         0         0         0         0         0         0         0    0.0000
         0         0         0         0         0         0         0         0         0         0         0         0
         0         0         0         0         0         0         0         0         0         0         0         0
         0         0         0         0         0         0         0         0         0         0         0         0
  columns 13 through 19
         0         0         0         0         0         0         0
         0         0         0         0         0         0         0
         0         0         0         0         0         0         0
   67.2852         0  172.7148         0         0         0         0
  132.7148         0         0         0         0         0         0
         0         0         0         0         0         0         0
         0         0         0  360.0000         0         0         0
         0  210.2641         0   29.7359         0         0         0
         0         0         0         0         0  360.0000         0
         0         0         0  240.0000         0         0         0
         0         0  360.0000         0         0         0         0

view the sums of the x schedule over disposals compared to the removal quantities m(:).

disp([sum(sol(5).x,2),m(:)])
  360.0000  360.0000
  240.0000  240.0000
  360.0000  360.0000
  240.0000  240.0000
  360.0000  360.0000
  240.0000  240.0000
  360.0000  360.0000
  240.0000  240.0000
  360.0000  360.0000
  240.0000  240.0000
  360.0000  360.0000

again, the schedule accounts for all removals.

what are the times when the encapsulation facility is in operation?

disp(sol(5).ej')
  columns 1 through 12
         0         0    1.0000    1.0000    1.0000    1.0000    1.0000    1.0000    1.0000    1.0000    1.0000    1.0000
  columns 13 through 19
    1.0000    1.0000    1.0000    1.0000    1.0000    1.0000         0

the encapsulation runs for times 3 through 18.

what is the distance between disposal tunnels for this solution?

disp(sol(5).ddt)
    50

this time, the distance between disposal tunnels is as great as possible, 50 meters.

conclusion

this example shows the formulation of a nonlinear, multiobjective, mixed-integer optimization problem using the problem-based approach. the data tips in the pareto plot enable you to analyze the solution. instead of specifying the gaplotpareto plot function, you can use the function to obtain a similar plot from the solution.

references

[1] montonen, outi, timo ranta, and marko m. mäkelä. planning the schedule for the disposal of the spent nuclear fuel with interactive multiobjective optimization. algorithms vol. 12, issue 12, 2019. available at .

helper functions

this code creates the max1 helper function.

function v = max1(a,sij)
v = round(max(max(a.*sij - 1))); % "round" ensures integer values
end

this code creates the max2 helper function.

function v = max2(ejoff)
v = round(max((ejoff').*(1:length(ejoff)) - 1));
end

see also

| | |

related topics

网站地图