Modelling, simulation and optimisation of parabolic trough power plants

We present a mathematical model built to describe the fluid dynamics for the heat transfer fluid in a parabolic trough power plant. Such a power plant consists of a network of tubes for the heat transport fluid. In view of optimisation tasks in the planning and in the operational phase, it is crucial to find a compromise between a very detailed description of many possible physical phenomena and a necessary simplicity needed for a fast and robust computational approach. We present the model, a numerical approach, simulation for single tubes and also for realistic network settings. In addition, we optimise the power output with respect to the operational parameters.


Introduction
It is well known that the worldwide energy consumption is increasing rapidly both in industrial and in developing countries. The classical way to produce energy is co-responsible for the climate change and for environmental pollution. Therefore, there is a strong need to reduce the use of traditional non-renewable resources and to strongly increase the use of renewable resources. This refers to all types of energy, the electrical current as well as to energy in form of heat.
A important renewable source is given by the solar radiation. There are different possibilities to use the solar radiation. The radiation is typically used to heat a medium. In some cases, the heat is used directly, e.g. for heating or hot water production. However, in most of the cases on a industrial scale of bigger power plants, the heat is used to produce electrical energy, which can be transported easily over long distances.
One of the most promising types of solar power plants are the so called parabolic trough power plants. In parabolic trough's, a special fluid in tubes positioned in the focus of big parabolic mirrors is heated by the solar radiation (see Figure 2  produce electric current in an electric generator. This technique is realised in many places all over the world (see [26] as a database on existing and planned powerplants). Today we have already a few thousands of GW power available by parabolic trough power stations worldwide. A typical modern parabolic trough power plant has a pike power in the order of magnitude 10 2 − 10 3 MW.
As an example in this paper, we will refer often to the power plant NOOR I in Morocco [6,9], see Figure 1. The Moroccan solar plan implemented by Moroccan Agency For Solar Energy (MASEN) consists of creating various solar power plants to be located in different regions [23]. NOOR I is one of the first power complex constructed by MASEN in Ouarzazate-Morocco in 2016. The plant generates solar power using parabolic trough collectors that uses thermal oil as a heat transfer fluid (HTF) [2].
For a deeper and profound understanding of the possibilities and limitations of parabolic trough systems, accurate models have to be available. We describe the complete power plant by including the main components, e.g. the thermo-fluid dynamics in the tube network and the pumps as driving forces for the fluid. This is done by a set of PDE's describing the thermofluid dynamics in a network of tubes. However, to make such an approach realisable a series of simplifications are necessary. First we reduce the equations to a one (spacial and longitudinal) dimensional system on the tube network by appropriately describing the relevant effects from the (omitted) cross-sectional dimensions. Then we apply an asymptotic analysis with respect to certain small parameters to further reduce the system. Finally we obtain a set of 3 nonlinear coupled first-order PDE's on every tube complemented with a set of physical meaningful conditions in the nodes of the network. This model allows for fast and robust simulations and thus for optimisation approaches. On one side, we optimise with respect to the various input data such as applied pressures or inflow temperature. On the other side, we can optimise with respect to various system parameters, e.g. network structure, dimensions and properties of the tubes and the thermo fluid in use. Therefore, this model can be applied both in the planning phase and in the operational phase of a parabolic trough power station. Also it is a good starting point for modelling more complex hybrid power plants which will become more and more important.
There is existing literature on various aspects of parabolic trough power plants. There is overview articles on collectors [12], there is literature comparing the parabolic trough and the heliostat technology [31] using space independent models for a single pipe. There is literature studying and comparing the parabolic trough plants with thermo fluids to direct steam generating power plants [35,8]. Another direction is literature considering in particular alternative thermo fluids in [21,1]. There is models which focus on the detailed cross-sectional physics and dynamics in a tube, i.e. in [13,28,10]. There is literature doing a space independent thermal analysis for a single pipe in [25] with related optimisation tasks in [24]. There is other Ansatzes based on simple algebraic models or space independent models aiming to optimise economic [3], structural [18] or network structural [22] aspects. Control aspects can be found in [34]. Network simulations based on algebraic models can also be found in [32]. Optimisation based on complex 3D models can be found in [38]. Energy balancing models for the power plant Noor I in Marocco can be found in [1]. Then, there is literature doing thermo fluid dynamic simulations with optimisation tasks on tailored software tools like ColSimCSP in [29]. Unfortunately, we could not find out which model in detail is coded in the software package ColSimCSP. However, not considering fluid dynamics aspects (apart from the temperature) is a very rough approximation since in a HTF fluid in the relevant temperature range from 300 to 700 K the density is varying up to 50% (see Figure 5).
To summarise, our approach represents a complete thermo-fluid model on a network with spatial and time dependency. The model is a result of various asymptotic processes simplifying the model significantly. It includes appropriate node conditions for the network. The model is robust and fast in simulations. Therefore, it allows us to optimise with reasonable effort, i.e. the net power output.
To our knowledge, the model presented here is unique and one of the most complete models available to describe a parabolic trough power station. In particular, it is based on first principal thermo-fluid equations and does not only consider energy balances. It promises a wide range of applicability.
In Section 2, we set up and analyse a one-dimensional mathematical model on the network, including the scaling and the asymptotic analysis. In Section 3, we deal with the numerical simulation of the model and present some examples. Finally, in Section 4 we select real world power plants models and present optimisation results for both the planning and the operational phase.

Mathematical model
Here, we introduce a system of balance laws for the relevant quantities under consideration that we will use to model, to simulate and to optimise a parabolic trough power plant described in the previous section. Since the power plant consists of a network of tubes conducting the heated flow, we start with the description of a single pipe in such a network.
Models of the type we are going to use here are widely used in similar applications where the heat transport is crucial. We refer to applications in gas pipelines [7], exhaust pipes [16,17], tunnel ventilation [15], solar updraft towers [14,37], energy towers [4] etc. In particular, the application for tubes in solar parabolic trough's were studied in [27,30].
In the following, a mathematical model for the heat-transfer fluid flow in a collector is introduced. Different fluid quantities including fluid density, velocity, temperature and pressure are described as functions of time and space.

The unidirectional flow system
Generally, the cross-sectional area of the collector flow tube is very small compared to its length. Based on that, a one-dimensional flow model is derived by averaging variables over the crosssectional variablesỹ andz directions. Namely, for a given quantityF, we havẽ where the˜indicates unscaled variables (with physical dimensions).f denotes the cross-sectional averaged quantity. Here,x,t,Ã(x) are the longitudinal space variable (along the tube), the time and the cross-sectional area of the tube, respectively. The governing equations are derived from the conservation and balance laws for the mass, momentum and energy, where the unknown variables are the densityρ =ρ(x,t), the velocitỹ u =ũ(x,t), the temperatureT =T(x,t) and the pressurep =p(x,t), all intended as cross-sectional mean values. Thus, the governing equations are given by (ii) Momentum balance whereτ 11 =τ 11 (x,t) is the internal shear stress,τ w =τ w (x,t) the wall friction,q s =q s (t) the beam solar radiation,q conv =q conv (x,t) the convective heat loss andq rad =q rad (x,t) the radiation heat exchange between the absorber and the atmosphere, The physical parametersc v andk denote the specific heat capacity and the heat conductivity of the fluid, respectively. The shear stress of the turbulent fluid on the wall is described classically as follows where ξ denotes the coefficient of friction calculated according to the Colebrook equation [20,1]. For the unidirectional flow of a Newtonian fluid the shear stressτ 11 is given as follows [27]: whereμ is the viscosity of the fluid. The solar radiation received is considered as a heat flux/rate and can be expressed as [1]: whereG bt is the beam solar radiation, W a is the collector width, γ is the intercept factor, α g is the absorbance of glass cover, r m is the specular reflectance of the mirror and k θ is the incident angle modifier. The heat loss by convection is given by [1]: whereT a is the ambient temperature andh w is the convective heat transfer coefficient. The radiation heat loss is described by [1]: whereT sky is the sky temperature assumed to be [1]: withσ as Stefan-Boltzmann constant and rad as the emittance.
Modelling, simulation and optimisation of parabolic trough power plants 597 The equations (2.2)-(2.4) form a set of 3 equations for the 4 unknownsρ,ũ,T,p. We still need to define a constitutive relation for the medium under consideration. The fluid under consideration is a special oil called Terminol VP-1 [36]. The constitutive relation is only known by measured data (given in [36]). The temperature dependence of the data (for a given pressure) can be approximated by polynomials (as in [1]). In Figure 5(a), we can see that the dependence of the density on the temperature is almost linear. There is also a theoretical pressure dependence of the density, which was studied in detail in [27], combining the data at different pressure values from [36] with additional data for a very similar fluid, called Dow-Corning 210 H [11]. The resulting approximative relation derived in [27] reads as ρ(p,T) =G +Bp +CT +DpT. (2.11) However, as we will see after scaling in Section 2.3, the pressure dependence is neglectable. Thus finally we work with a linear approximation of the density (as function of the temperature). See also Table A.2 for the parameters, Table A.3 and Figure 5 for the properties of the fluid.

Scaling
The governing equations are scaled in order to obtain a dimensionless mathematical model, to reduce the number of (dimensionless composed) parameters and to identify order of magnitudes in the various terms. The reference values are denoted by an index r, the dimensionless quantities have no index and no tildes, i.e. for a general quantity f Moreover, the scaling of the Therminol VP-1 constitutive law leads to the following nondimenstional parameters: The reference values are associated with the real-world data of the considered power plant, in our case the Ouarzazate Noor I [1]. From now on, we assume the cross-sectional area A to be constant in a single tube. After scaling the governing equations (2.2)-(2.4) together with (2.11) can be written in dimensionless form as follows where the dimensionless coefficients and its order of magnitude are expressed in Table 1. We see that we have series of small and very small parameters. This will be used to simplify the model.

Asymptotic analysis
In this section, we look at the order of magnitudes (see also [27]). We see that the parameters μ, k, B and D are of order O(10 −7 ) and below. Therefore, we skip the corresponding terms. Not surprisingly, this refers to viscous and to heat conducting terms (in this 1d approach). And it simplifies the constitutive law to a linear relation. With this we are left to Now we take advantage of the fact that and δ are always small in this application, everywhere and at any time. This is used to do an asymptotic approximation in terms of the small parameters and δ. We develop the quantities asymptotically with respect to and δ, i.e. for f = (ρ, u, T, p) we write (2.21) In equation (2.14), the leading order term on the left (p 0 ) x (order −1 ) has as only relevant counterpart on the right the term − η D i ρ 0 u 0 |u 0 |. For big longitudinal extensions x r , small diameters D i and/or big friction coefficients ξ we have η This reflects the fact that friction effects cannot be neglected in this application. Therefore in leading order (in and δ), we have the equations This model includes as physical most relevant phenomena friction losses in the momentum balance, the solar input and the radiative and convective heat losses in the energy balance. We can rewrite and simplify the model using (2.26) in (2.25). This gives (dropping the index () 0 ) This is a coupled system of 3 first order nonlinear PDE's and a linear algebraic relation. Therefore, we need initial data for the quantities where the initial condition for the density ρ is then given by (2.37). And we need 3 physically meaningful boundary conditions. Typically a certain pressure is applied to the tube and as a consequence a flow is induced. This is realised by prescribing the pressures at the inlet and the outlet and consequently the density at the inlet (inflow condition)

Network
Since a typical parabolic trough power plant is composed as a network of pipes, we now consider the network setting (see also [30]). We have -including an inlet and an outlet tube -n p tubes connected in n v nodes. For each tube i = 1, ..., n p we have density ρ i , velocity u i , temperature T i and pressure p i . In each of the tubes various parameters may differ, e.g. the length L i , the cross-sectional area A i and the diameter D i . The fluid in each tube is described by (2.34)-(2.37) The parameters are given in Table A.4. We have boundary conditions for the network at the inlet and the outlet tube, i.e. we add boundary conditions for the pressure p l and the density ρ l at the inlet tube and for the pressure p r at the outlet tube The inflow temperature T in depends via (2.37) from the inflow density ρ in . The subscripts in and out refer to the tubes connected to the outside world with in or outgoing flow. We complete the system with intial condition for temperature, pressure and velocity where the initial density is again given by (2.37). In the network, we have to define node conditions which act as boundary conditions for the internal (or non-external) ends of the tubes, i.e. those parts ending in a network node. We need 3 boundary conditions per tube -e.g. 2 pressure and 1 density inflow condition -and thus in total 3 · n p boundary conditions in the whole network.
For the node dynamics, we make the assumptions that the fluid is homogeneoulsy mixed such that (i) we have a single pressure value P j = P j (t) at each node j, (ii) we have a single density value ρ inflow,j = ρ inflow,j (t) for each tube with (node-)outgoing flow at node j.
This reduces the unknowns to a single pressure values and a single density values at each node. We formulate physical reasonable and necessary node conditions (like in [15] or [7]): (iii) mass is conserved in the nodes, i.e. the in and outgoing mass fluxes are balanced sign(i, j)ρ i u i A i = 0 (2.41) (iv) the inner energy is conserved in the nodes, i.e. the in and outgoing fluxes for the inner energy are balanced Remember that the kinetic energy parts were of orders of magnitude smaller and not relevant in this leading order approximation.
where the function sign(tube i, node j) indicates at which end of the tube i the node j is located Using (2.37) in the inner energy balance at the nodes (2.42), then using (2.41) and the fact all outflowing tubes have the same (well mixed) denisty, we obtain at every node j = 1, ..., n v Using again (2.41), we obtain coupling conditions for the outflow density in node j which only depends on inflow data at the related node. We remark that (2.46) by construction guarantees the conservation of mass in every node. With this the solution of the network problem is prepared. In Section 3, the details of the numerical realisation of the solution of the network problem are presented. We start with given data at a certain time (e.g. initial data) on every tube of the network and a set of pressures P j at the nodes. We perform a step forward (in time) in the continuity equation (2.34). Then we solve the combined network problem where p i denotes the pressure differences of right an left node pressure acting on tube i. This problem promises to behave well since we have -at least formally -a 'monotonicity' behavior of the node pressures at every node. A strategy o solve this problem is in a first step to guess the pressures P j at all the nodes. The higher we chose the pressure P j in a node j the higher is the outflow in the outflowing tubes and the lower is inflow in the inflowing tubes (at node j). As long as there is no change in the flow direction with respect to the tubes linked to node j, there is exactly on pressure value P j such that outflow balances inflow at that node. This monotinicity remains even true if by lowering (highering) the node pressure P j an outflowing (inflowing) tube switches and becomes an inflowing (outflowing) tube. Insofar we expect a unique solvability with respect to the pressures. This algorithm will be used in Section 3 to solve the network problem.

Power optimisation
In the previous section, we studied and performed direct numerical simulations on a network for a given set of parameters and initial and boundary data. As already mentioned, we would like to go further and -as required for the application -optimise the output. A natural quantity to be optimised is the power output. In an operational phase, an important control variable is the pressure drop between the outlet and inlet to the solar field, p. The power P is the energy converted per unit of time, P = E t , where E is the energy. The thermal (gross) output of a power plant is the amount of heat generated per unit of time. On the other hand, we have to employ pumping power to push the fluid trough the network. At the end the most interesting quantitiy is the net power, i.e. the gross power minus the necessary power for running the system.
We start with the thermal output. The amount of heatP thermal , which is generated by a temperature difference is calculated bỹ (2.49) whereT in ,T out are the in and outlet temperatures,c v the (temperature-dependent) specific heat andÃρũ the fluid mass push through the tubes per time. Here, we assume incompressibility and thus the inflowing mass is equal to the outflowing mass. Applied to our network we get for the relevant outgoing tube or tubes (if more than one outgoing tube) (2.50) Now we integrateP thermal over time to account for the performance over the entire simulation period. In addition, we take into account the fact that there can be several output pipes and form the sum over the corresponding pipes representing the gross power generated in the solar field by solar thermal heating. The power functional is still subject to dimensions. Now we take into account in our functional the needed pumping power to generate the pressure. This is calculated according to Sterner et al. [33], as follows where 0 < η pump < 1 designates the efficiency of the pump and p = p in − p out the produced overpressure between inlet and outlet pipes. Since pumps act always at the inlet(s), we have (again integrated over the simulation period) We assume in our model that the pump is installed at the entrance of the first pipe (only one entrance pipe). Overall, we can now set up the following net power functionalJ : We mention that the (in time integrated) net power functional represents the amount of net energy produced by the power station over the time intervall [0,t end ]. It remains to scale the functional using the reference values from the Subsection 2.2 (the reference value forJ is given by T r ρ r u r A r ). We obtain (c v denotes a scaled version of the heat capacity) The optimisation (maximisation) of the presented net (integrated) power functional is done under the additional constraint max T out < T c since the HTF (in our case Therminol VP-1) should not go above the critical temperature T c = 663.15 K T r (390 • C). In the next section, we show how the numerical realisations of this optimisation is done (in MATLAB based on optimisation toolbox).

Numerical algorithm
In this section, the algorithm for a single pipe is first introduced accompanied with the initial and boundary values. The coupling conditions are then used for the calculation of missing boundary values of all pipes.
In order to solve the system of equations (2.34)-(2.37), a temporal and spatial discretisation is required. The discrete grid points for space and time are denoted, respectively, by x 1 , . . . , x n x and t 1 , ..., t n t . The discrete variables are accordingly provided with the indexing (n, j), where the first index is relating to the time coordinate, the second to the spatial coordinate.
In the following, the index for the pipe number is dropped as the algorithm is introduced for a single pipe. The explicit upwind method is used to solve the mass conservation, equation (2.34), where CFL condition is preserved [30]. Calculation of the discrete temperature values result from the linear relationship (2.37) between T and ρ. On the other hand, the velocity solution can be obtained by integrating (2.36) After the density, temperature and velocity are solved for the respective time step, the pressure can also be calculated. In order to take into account the two given pressure boundary values, the pressure equation (2.35) is differentiated with respect to x Finally, the pressure values are obtained by solving the above equation using second-order central finite different scheme. This is the algorithm for a single pipe. The network approach still requires the numerical implementation of the coupling conditions in order to derive the required boundary values for the individual pipes.
As described in Subsection 2.4, a boundary value for the density is required for the explicit upwind method. For internal pipes, the boundary value for the density is determined via the equation (2.46) at every node j = 1, ..., n v . With the input density determined in this way for each pipe, the continuity equation can be solved using the explicit upwind methods.
Furthermore, the n v pressure values at the nodes are required to calculate the speed and the pressure in the individual pipes. For this, the following n v equations at the nodes and the n p equations for the pipes form a non-linear system of equations for i = 1, . . . , n p , and j = 1, . . . , n v .  .
where n v + n p equations are solved to obtain the n v pressure values at the nodes P j and the n p input velocities v i of the pipes. The required boundary values for each individual pipe within the entire network are then available and the quantities velocity, pressure and temperature can be determined according to the procedure explained above.

Numerical simulation
In the following, the presented model system is simulated for a set of different examples. A number of MATLAB codes are implemented in order to study the different numerical cases.
At first, a simple case is considered where the presented model is numerically solved for one single pipe and validated with existing results in literature. In the second case, a solar field collector row composed of 8 collector pipes is considered.
The solar radiations and ambiant temperature for a typical sunny day in the region of Ouarzazate (Morocco) are considered [1]. The hourly variation of the considered data are plotted in Figure 4 between the sunrise and the sunset, where the observed peak solar radiation is around 1000 W/m 2 and the peak ambient temperature is around 308 K. Some of the coefficients involved in the governing equations are determined using the temperature-dependent properties of the Therminol VP-1 in order to obtain accurate numerical results at each time step. The thermal properties of the HTF for a range of temperatures from 285 to 693 K are depicted in Figure 5 alongside the linear interpolation expressed in Table A.3.

Validation of the single pipe model
First, both models should be examined with regard to their plausibility. In the first simulation, we want to represent a situation that is as simple as possible. A simple fluid transport through the pipe from left to right, the results obtained by the one pipe model are compared with existing results from Allouhi et al. [1]. We will always select the same data in the subsequent simulation series, i.e. model parameters, calculation parameters, initial and boundary conditions for the two systems in order to be able to compare them. The associated data is listed in the previous sections.
For the case of a single collector pipe, the obtained results are presented to validate the derived model by comparing the predicted temperature variations with existing values in the literature. The inlet temperature is set at 320 K (46, 85 • C). Figure 6, shows the variation of the obtained results for the fluid properties, namely, the density, velocity, pressure and temperature as function of space (along the pipe) and time (hours of the day). It is noticed from the different plotted results, that at the peak value of the solar radiation during the day, the minimum value of the density and the maximum values of the velocity and temperature are observed. Moreover, the collector generates a maximum temperature value (375 K) at the outlet of the pipe when the solar radiation is at the peak value during the day, similar values are obtained in [1] for the same NOOR I model parameters. Compared to other models in the literature and the work of Allouhi et al. [1], the presented model gives more and new insight to the spacial and time variation of other fluid properties besides temperatures, such as velocity and density. This  additional information can only be generated by a thermo fluid dynamics model as the one we use here in this paper.

Validation of the network model
In this case, a simple network model constituted of 8 collectors connected in series is assumed, where the same model parameters and properties are considered. In order to check the coupling  single tube model, the maximum temperature value is at the outlet of the last pipe when the solar radiation reaches the peak value. This can be seen as a basic test for the network approach.

In series design of the collector
The NOOR I power plant (Ouarzazate, Morocco) is considered as an application for the presented network model. The network case of eight pipes connected in series is a realistic case of the NOOR I plant, the model can be then used for further optimization of the power functional with respect to different model parameters. In this paper, the (optimal) pressure drop is the main output of the optimisation approach. For the usual design of each collector row, the pressure drop is optimised to maximise the net power output. Table 2 shows the optimisation iterations and the associated values of the pressure drop ( p) and power output (J ). It is observed that the maximum output temperature exceeds the critical value of 663.15/K (390/ • C) in the first 11 iterations, but then finally at iteration 12 it stays below the critical value and subsequently maximises the generated power under the additional constraint. Using the optimal value of the pressure drop P = 8.53, the different fluid variables are plotted again with respect to time and space, see Figure 8. The results show a decrease in the minimum value of density and an increase in both maximum values of the velocity and temperature, especially at the output.

Complex design of collector rows
Usually collector rows are designed in a series form (Design 1). More complicated designs can be studied with respect to possible better net power output. Thus, three different additional designs are considered as shown in Figure 9. The first design (Design 2) consists of two parallel collector pipes at the beginning of the row and the rest are connected in series, while the second design (Design 3) consists of two parallel collector pipes at the beginning of the row and another two parallel collector pipes in the middle of the row, while the other pipes are connected in series. The third design (Design 4) consists of six pipes in parallel. For the four designs, the same optimisation approach is used in order to obtain the optimal pressure drop with a maximum net power output. As shown in Table 3, the value of the pressure drop varies from one design to another with the minimum value observed for the D4 and the maximum value observed for the classical one d1.
The concluding observation from the obtained results is that a more complex designs of the power plant parabolic trough collectors can result in better output values under better conditions (e.g. lower temperatures). Therefore, further research and studies can be conducted in terms of network design and optimisation using simplified models similar to the one introduced in this paper.
In Figure 10, the fluid temperature variations for the different designs are presented. It is observed that for the parallel pipes, the temperature increases more than for a single pipe, while the output temperature is similar to design 1 with lower pressure drop.

Conclusions
We consider the presented model as a significant step towards accurate modeling of parabolic trough power plants. The main physical phenomena are included. Nevertheless, the model is simple enough to allow for fast and robust simulations and optimisation tasks. The model was validated with data from existing parabolic trough power plants. The performed simulations show very good agreement with the available measurements.
However, we know that this is only a starting point. It is well known that modelling and simulation has become a significant tool for the design of complex technical systems. A parabolic trough power plant is such a complex technical system and its design and operation is all but trivial. In this context, mathematical models combined with fast and robust numerical and optimisaton approaches are needed for the design of the network (structure, substructure, pipe dimensions etc.), to evaluate non planar collector fields, to evaluate the losses and possible isolation measures, for introducing alternative fluids (e.g. nanofluids), to identify optimal settings in the operational phase etc.
Clearly the presented model is far from being overarching. It might be that phenomena which are not yet identified to be relevant are not yet described. This model cannot capture certain details due to its 1 dimensional character, i.e. details of the flow in a junction. It might be that at some point the model is not precise enough in the description, i.e. the heat transfer mechanism from the radiation into the fluid.
And there are mathematical and numerical challenges to be faced. So far there is no wellposedness theory for the model. This not surprising since we have a system of nonlinear coupled PDEs on a network. However, first steps have to be done. The numerical algorithm is kept as simple as possible, there is room of improvement. Adaptive methods could help to accelerate in particular in case of the optimisation task. Up to now the optimisation is done using standard tools. This works here for rather simple examples, it might be that i.e. for a large multiparameter optimisation examples we run into problems. Thus, more sophisticated approaches have to be considered, i.e. a Lagrangian based method.