Next Article in Journal
First-Division Softball Players with Shoulder Injuries Exhibit Upper-Body Compensatory Strategies Compared to Healthy Controls: A Case Study Using Wearable Inertial Sensors
Previous Article in Journal
Numerical Modelling Assessment of the Impact of Hydrogen on the Energy and Environmental Performance of a Car Using Dual Fuel (Gasoline–Hydrogen)
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Theoretical State and Time-Varying Parameter Estimation for a Susceptible, Infected, Hospitalized, and Immunized Epidemic Model Based on New Hospital Admission and Death Data

by
Carmen Legarreta
*,
Manuel De la Sen
* and
Santiago Alonso-Quesada
Department of Electricity and Electronics, Faculty of Science and Technology, University of the Basque Country, UPV/EHU, 48940 Leioa, Spain
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2025, 15(4), 1940; https://doi.org/10.3390/app15041940
Submission received: 16 January 2025 / Revised: 10 February 2025 / Accepted: 11 February 2025 / Published: 13 February 2025
(This article belongs to the Section Energy Science and Technology)

Abstract

:
The transmission rate ( β ( t ) ) plays a crucial role in disease spread, making its measurement essential for effective control. However, existing techniques for its estimation are impractical as they rely on typically unavailable data. To address this, a prior analysis of the most frequently reported data during the Coronavirus Disease 2019 (COVID-19) pandemic has been carried out, namely the number of new hospital admissions ( y 1 ( t ) ) and deaths ( y 2 ( t ) ). Based on this analysis, an SIHR epidemic model is presented, where S, I, H, and R represent susceptible, infected, hospitalized, and immunized subpopulations, respectively, and various observers tailored to the available data are proposed. Assuming both y 1 ( t ) and y 2 ( t ) are available, an exponential observer has been designed for the state estimation, from which β ( t ) is obtained. If only y 1 ( t ) is available, a combination of output injection and output diffeomorphism is employed to transform the nonlinear system into its observer canonical form, enabling the design of an adaptive observer for estimating both the states and β ( t ) . By considering only y 2 ( t ) , an explicit equation has been obtained to estimate y 1 ( t ) , enabling the application of the previously developed methods. These approaches have been validated through a theoretical framework and numerical simulations; the first and third methods successfully estimate the unknown states and β ( t ) with high accuracy. The second method yields a bounded region where the true value is expected to lie.

1. Introduction

When an outbreak occurs and no vaccine is available, non-pharmaceutical interventions such as school closure or mobility reduction are crucial to lessen the transmission rate and prevent the spread of the virus. While reducing the transmission rate, achieved with a reduction in the average number of close contacts, is effective for disease eradication, it might negatively affect the economy and people’s mental health, as happened during the Coronavirus Disease 2019 (COVID-19) epidemic [1,2,3,4,5]. Finding a balance between controlling the disease spread and minimizing these negative impacts requires a precise understanding of the transmission rate dynamics. Therefore, accurate estimation and characterization of the transmission rate are essential for optimizing control inputs. Furthermore, the importance of state estimation cannot be overstated, as it gives a more precise understanding of the system’s dynamics, facilitating more effective intervention strategies. With a transmission rate and state estimation, policymakers can implement interventions that not only reduce transmission but also minimize broader societal consequences.
The most commonly used epidemic models are based on the framework developed in [6]. This model is described by a nonlinear dynamical system, where the state variables represent different subpopulations: susceptible, infected, and recovered. Hence, it is named the SIR epidemic model. Since then, more complex models have been developed depending on diseases and societal characteristics such as models incorporating age groups [7,8,9], geographical divisions [10,11,12], and more. In contrast to black-box models, these are grounded in physical principles, so their solutions have clear physical interpretations, aiding in the understanding of epidemic dynamics, disease spread, and control strategies. Moreover, since these models explicitly depend on the transmission rate, they can be used to estimate its value.
Various approaches to estimating the transmission rate have been developed. Using a deterministic SIR model and prior knowledge of infected individuals, explicit equations for the time-varying rate can be derived [13,14]. Additionally, least squares and functional minimization methods have been widely applied for parameter estimation [15,16,17,18]. However, these methods typically require knowledge of the initial state and transmission rate values, which are often unavailable in real-world scenarios. Observer theory offers a promising alternative since it considers available data to reconstruct unknown states and parameters. Recent studies have explored the use of observers [19,20] or transformed epidemic models into simpler forms to facilitate observer-based estimations [21,22]. However, these approaches assume that the number of infected individuals or newly infected cases is known, whereas such data are often unavailable, as shown in Table 1, as with the COVID-19 epidemic data. Furthermore, they primarily focus on estimating a constant transmission rate, even though it can vary over time, for instance, due to seasonal effects. This limitation suggests that while observer theory is a valuable tool, its application in current studies may not be fully suitable due to the lack of appropriate data.
To address this problem, this paper proposes different methods for estimating the state and time-varying transmission rates based on the most commonly available data. Specifically, we develop a susceptible, infected, hospitalized, and immunized (SIHR) epidemic model and solve the observer problem for three different scenarios:
(i) 
Both new hospital admissions and new deaths are available.
(ii) 
Only new hospital admissions are available.
(iii) 
Only new deaths are available.
In the first case, an exponential observer is designed to estimate the susceptible subpopulation, while an explicit equation is used to estimate the transmission rate. In the second case, following the methodologies in [22,23,24,25,26], the epidemic model is transformed into an observer canonical form using output injection and output diffeomorphism. Then, the adaptive observer described in [27,28] is applied. In the third case, an explicit equation is derived to estimate new hospital admissions, enabling the use of the previously developed methods.
The proposed approaches are validated through a theoretical framework and numerical simulations, demonstrating their performance across different scenarios. The solutions developed for the first and third cases successfully estimate both the states and the time-varying transmission rate. In the second case, the proposed observer provides a bounded region where the true values lie. Although these bounds are generally informative, the method fails to accurately estimate the bounds for one of the state variables.
A key advantage of these methods over the previously discussed approaches is that they rely on commonly available data, ensuring their applicability, and they do not require prior knowledge of initial values for the unknown states and parameters. Although numerical simulations generally yield good results, these methods require a convergence period (i.e., time to produce estimates that closely match real values), which can be a drawback in situations with short time-period data, such as at the onset of a pandemic.
Due to the big impact of COVID-19 and its durability over time, many countries have gathered large datasets regarding the epidemic (e.g., the UK collected data from 2020 to 2023; see Table 1 for details on data sources). The availability of such datasets ensures the convergence of estimated values, making these methods well suited for estimating the transmission rate during the COVID-19 epidemic. In the Section 8, transmission rate estimation methods are proposed for application to data regarding COVID-19. Furthermore, a hypothetical insight into their implications for control is given.
Table 1. Some countries’ data availability. A tick (✓) denotes available data, whereas a cross (×) denotes unavailable data. The cross mark in some cells does not imply that those datasets do not exist; rather, it indicates that they do not appear in the cited sources.
Table 1. Some countries’ data availability. A tick (✓) denotes available data, whereas a cross (×) denotes unavailable data. The cross mark in some cells does not imply that those datasets do not exist; rather, it indicates that they do not appear in the cited sources.
Data Availability
Country Positive
Tests
New Hospital
Admissions
Hospitalized
Patients
New
Deaths
Vaccination Source
UK [29,30]
Netherlands×× [31,32,33]
France [34]
Belgium [35]
Spain× [33,36]
Italy× [33,37]
The rest of this work is organized as follows: Section 2 presents the epidemic model. In Section 3, two outputs are considered, namely new hospital admissions and new deaths, and an exponential observer and an explicit equation, from which the unknown states and the transmission rate are estimated, are presented. In Section 4, with the output new hospital admissions, a diffeomorphism is applied to the dynamical system so the observer canonical form is obtained, and the joint parameter and state estimation problem is solved. In Section 5, where only data regarding new deaths are assumed to be accessible, the number of new hospitalized people is inferred by an explicit equation, allowing the usage of any of the methods developed in Section 3 and Section 4. Section 6 illustrates the numerical simulations carried out. Section 7 presents an overview of theoretical and simulation results. Finally, concluding remarks and a discussion of future directions are given in Section 8.
Notation
  • Let the function sat a b ( x ) be defined as
    sat a b ( x ) = min max x , a , b .
  • Given a vector v C n , the notation [ v ] i refers to the i-th component of the vector, that is, if v is defined as
    v = [ v 1 , , v n ] T ,
    then [ v ] i = v i for all i = 1 , , n .

2. Problem Statement

In this section, the nonlinear dynamical system for the SIHR epidemic model with vaccination is proposed. With some basic assumptions regarding parameters and initial conditions (non-negativeness, input bounds, etc.), the system solution’s well-posedness is ensured. Then, the dynamical system is normalized and the vector notation is given. Note that the normalized system in vector notation will be used throughout the following sections.
Consider the following SIHR epidemic model:
S ˙ ( t ) = Λ ( t ) + ρ R ( t ) β ( t ) I ( t ) S ( t ) N ( t ) μ S ( t ) v ( t ) , I ˙ ( t ) = β ( t ) I ( t ) S ( t ) N ( t ) ( γ 1 + σ + μ ) I ( t ) , H ˙ ( t ) = σ I ( t ) ( γ 2 + α + μ ) H ( t ) , R ˙ ( t ) = γ 1 I ( t ) + γ 2 H ( t ) + v ( t ) ( ρ + μ ) R ( t ) ,
where the state variables S ( t ) , I ( t ) , H ( t ) , and R ( t ) stand for susceptible, infected, hospitalized, and immunized subpopulations, respectively. From the sum of the equations in (3), the dynamical equation for the total population N ( t ) is obtained:
N ˙ ( t ) = Λ ( t ) μ N ( t ) α H ( t ) .
The parameters involved in (3) are the following ones: ρ (immunity rate), μ (natural death rate), γ 1 (infected people recovery rate), γ 2 (hospitalized people recovery rate), σ (hospitalization rate), and α (disease death rate). These parameters determine the amount of people being introduced and removed from each subpopulation. Additionally, the variable Λ ( t ) stands for the number of newborns per day that are introduced in the susceptible subpopulation (i.e., it is assumed that newborns are healthy, but they do not hold any immunity against the disease), and the known input v ( t ) (vaccinated people per day), determines the amount of people moving from the susceptible subpopulation to the immunized subpopulation. Vaccines are assumed to be administered to the susceptible subpopulation for two main reasons: (i) during the COVID-19 epidemic, vaccines were not provided to infected or hospitalized individuals; and (ii) those who had previously been infected or hospitalized generally had to wait until their immunity waned, at which point they transitioned from the immunized to the susceptible subpopulation. The time-varying transmission rate β ( t ) , which is equal to the contact rate multiplied by the probability of being infected after close contact, plays a fundamental role in the spread of any disease, that is, given the epidemic model (3), an increase (decrease) of β ( t ) implies an increment (diminution) in the appearance of new infected people. Hence, estimating β ( t ) is important. Note that estimating β ( t ) implies estimating the contact rate as a consequence of the proportionality between both variables.
Assumption 1 (known parameter positivity). 
Let the parameters μ, γ 1 , γ 2 , σ, α and ρ fulfill the condition
0 μ , γ 1 , γ 2 , σ , α , ρ .
Assumption 2 (unknown variable boundedness). 
Let the unknown time-varying transmission rate β ( t ) fulfill the following conditions:
(i) 
It is bounded by the non-negative and known parameters β m and β M ;
β ( t ) [ β m , β M ] , t [ t 0 , ) ,
where t 0 [ 0 , ) .
(ii) 
It is continuously differentiable with respect to time with a bounded time derivative;
| β ˙ ( t ) | q ¯ , t [ t 0 , ) .
Note that throughout this paper, t 0 denotes a non-negative real number (i.e., t 0 [ 0 , ) ).
Remark 1. 
Since the transmission rate is proportional to the number of contact rates, as long as the contact rate is positive and bounded (i.e., in real life, it is not possible to have negative nor infinite contacts per day), and the probability of being infected is also positive and bounded, the transmission rate is also positive and bounded.
Remark 2. 
The contact rate is given by the average number of people that a person meets during the day. Therefore, any self-driven population will not have abrupt changes in the contact rate, and consequently, the transmission rate can be considered continuously differentiable in t. Even if abrupt and global policies affecting everybody equally are considered, which could cause a piecewise continuously differentiable transmission rate, people’s self-awareness would have already changed the contact rate (e.g., before governments apply a lockdown, people’s fear of disease would have decreased in value). So the assumption of a continuously differentiable transmission rate is still valid.
Assumption 3 (input variables).
Regarding the input variables, the following conditions are fulfilled:
(i) 
The input variables Λ ( t ) and v ( t ) are continuous on t [ t 0 , ) .
(ii) 
Vaccination v ( t ) must be non-negative and it must be lesser than the sum of the susceptible subpopulation ( S ( t ) ) and the new susceptible population ( Λ ( t ) + ρ R ( t ) ); 0 v ( t ) < S ( t ) + Λ ( t ) + ρ R ( t ) .
(iii) 
The number of newborns is bounded and has positive values: 0 < Λ ( t ) Λ M .
(iv) 
The normalized newborns per day are assumed to be approximately constant.
Λ ( t ) N ( t ) Λ N = λ = const .
Assumption 4 (initial conditions).
Let the initial conditions fulfill the following conditions:
S ( t 0 ) ( 0 , N ( t 0 ) ] a n d X ( t 0 ) [ 0 , N ( t 0 ) ] : X ( t ) { I ( t ) , H ( t ) , R ( t ) } , t [ t 0 , ) ,
where
N ( t 0 ) = S ( t 0 ) + I ( t 0 ) + H ( t 0 ) + R ( t 0 ) , and 0 < N ( t 0 ) .
Proposition 1. 
Under Assumptions 1–4, the following statements hold:
(i) 
The solution for the susceptible subpopulation will be positive: 0 < S ( t ) , t [ t 0 , ) , S ( t 0 ) ( 0 , N ( t 0 ) ] .
(ii) 
The solution for all subpopulations but susceptible will be non-negative: 0 X ( t ) , t [ t 0 , ) , X ( t 0 ) [ 0 , N ( t 0 ) ] , where X ( t ) { I ( t ) , H ( t ) , R ( t ) } .
Proposition 2 (Positively Invariant Region).
Under Assumptions 1–3, the set
D = [ S , I , H , R ] T R + 4 : N Λ μ ,
where R + 4 = { x R 4 : x 0 } is positively invariant with respect to the dynamical system (3); for any [ S ( t 0 ) , I ( t 0 ) , H ( t 0 ) , R ( t 0 ) ] T D , then [ S ( t ) , I ( t ) , H ( t ) , R ( t ) ] T D for all t [ t 0 , ) .
Considering Assumption 3, point (iv), the normalized model (i.e., x 1 ( t ) = S ( t ) / N ( t ) , x 2 ( t ) = I ( t ) / N ( t ) , x 3 ( t ) = H ( t ) / N ( t ) , and x 4 ( t ) = R ( t ) / N ( t ) ) is given by the following set of equations:
x ˙ 1 ( t ) = λ x 1 ( t ) θ ( t ) x 1 ( t ) x 2 ( t ) + ρ x 4 ( t ) + α x 1 ( t ) x 3 ( t ) + λ v ( t ) N ( t ) x ˙ 2 ( t ) = λ + γ 1 + σ x 2 ( t ) + θ ( t ) x 1 ( t ) x 2 ( t ) + α x 2 ( t ) x 3 ( t ) x ˙ 3 ( t ) = λ + γ 2 + α x 3 ( t ) + σ x 2 ( t ) + α x 3 2 ( t ) x ˙ 4 ( t ) = λ + ρ x 4 ( t ) + γ 1 x 2 ( t ) + γ 2 x 3 ( t ) + α x 4 ( t ) x 3 ( t ) + v ( t ) N ( t )
where θ ( t ) = β ( t ) . This change in notation (i.e., θ ( t ) = β ( t ) ) has been considered for two main reasons: (i) in the background literature, θ ( t ) is usually referred to as the parameter to be estimated; (ii) considering that the estimation θ ^ ( t ) is obtained from the model (8), then β ^ ( t ) will be computed from the expression
β ^ ( t ) = sat β m β M ( θ ^ ( t ) ) ,
whose value will be more reliable since the bounds for the transmission rate (see Assumption 2) are being taken into account. Recall that sat() is defined in the Notation section, Equation (1).
Considering that
x 1 ( t ) + x 2 ( t ) + x 3 ( t ) + x 4 ( t ) = 1 ,
one can eliminate one of the equations (e.g., x ˙ 4 ( t ) ) and rewrite system (8) in vector notation, that is,
x ˙ ( t ) = f ( x ( t ) , θ ( t ) ) + i = 1 2 g i ( x ( t ) ) u i ( t )
where
f ( x ( t ) , θ ( t ) ) = A x 1 ( t ) θ ( t ) x 1 ( t ) x 2 ( t ) + α x 1 ( t ) x 3 ( t ) ρ ( x 2 ( t ) + x 3 ( t ) ) B x 2 ( t ) + θ ( t ) x 1 ( t ) x 2 ( t ) + α x 2 ( t ) x 3 ( t ) C x 3 ( t ) + σ x 2 ( t ) + α x 3 2 ( t ) , g 1 = 1 0 0 , g 2 = 1 0 0 ,
and x ( t ) = [ x 1 ( t ) x 2 ( t ) x 3 ( t ) ] T , f : R 3 × R + R 3 , and g i : R 3 R 3 for i = 1 , 2 ,
u 1 ( t ) = v ( t ) N ( t ) , u 2 = ρ + λ ,
and
A = λ + ρ , B = λ + γ 1 + σ , C = λ + γ 2 + α .
Two outputs will be considered from the dynamical system (12), that is,
y 1 ( t ) = σ x 2 ( t ) and y 2 ( t ) = α x 3 ( t ) ,
where y 1 and y 2 stand for new hospital admissions and new deaths, respectively.
For notation convenience, from now on, the time dependency of variables and functions will not be explicitly written in proofs unless it is necessary to avoid any confusion.

3. Parameter Estimation with Two Outputs

In this section, the outputs y 1 and y 2 are considered. Then, an exponential observer for the estimation of the state variable x 1 ( t ) is proposed in Theorem 1 and its proof is provided. Then, the exponential convergence of the estimated β ^ ( t ) is guaranteed in Proposition 3.
Considering that the outputs y 1 ( t ) and y 2 ( t ) are available, an exponential observer for the dynamical system x ˙ 1 ( t ) in (11) and (12) can be calculated from the solution of an auxiliary ODE, as stated in the subsequent Theorem 1 and its proof.
Theorem 1. 
Under Assumptions 1–4, and considering the outputs y 1 ( t ) = σ x 2 ( t ) and y 2 ( t ) = α x 3 ( t ) , if A + y 2 ( t ) < L for all t [ t 0 , ) and some 0 < L < λ + ρ , given the solution of the dynamical equation
z ^ ˙ ( t ) = A + y 2 ( t ) z ^ ( t ) ( γ 1 + σ ) σ y 1 ( t ) ρ α y 2 ( t ) + u 1 ( t ) + u 2 , z ^ ( t 0 ) y 1 ( t 0 ) σ , 1 , t [ t 0 , ) ,
the function
x ^ 1 ( t ) = sat ϵ 1 z ^ ( t ) y 1 ( t ) σ , t [ t 0 , ) ,
where ϵ refers to a positive and small value, and is an exponential observer for the dynamical equation
x ˙ 1 ( t ) = A x 1 ( t ) θ ( t ) x 1 ( t ) x 2 ( t ) + α x 1 ( t ) x 3 ( t ) ρ ( x 2 ( t ) + x 3 ( t ) ) , x 1 ( t 0 ) ( 0 , 1 ] , t [ t 0 , ) .
Proof of Theorem 1. 
Let us define z = x 1 + x 2 , whose time derivative yields
z ˙ = A z + z y 2 ( γ 1 + σ ) σ y 1 ρ α y 2 + u 1 + u 2 .
Defining the error as z ˜ = z ^ z , its time derivative gives
z ˜ ˙ = ( A + y 2 ) z ˜ ,
whose solution verifies
z ˜ ( t ) = z ˜ ( t 0 ) e t 0 t ( A + y 2 ( τ ) ) d τ .
Then, considering the condition A + y 2 ( t ) < L , t [ t 0 , ) , where L is positive, it follows that
| z ˜ ( t ) | < z ˜ ( t 0 ) e L ( t t 0 ) .
From the definition of z and considering that x 2 = y 1 / σ , the expression x 1 = z y 1 / σ (equivalently x ^ 1 = z ^ y 1 / σ ) is obtained, so
| x ^ 1 x 1 |   =   | z ˜ | .
Thus, the condition for an exponential observer is verified.
Note that the function sat ϵ 1 ( ) has been applied to the expression z ^ ( t ) y 1 ( t ) σ since x 1 ( t ) [ ϵ , 1 ] , t [ t 0 , ) , x 1 ( t 0 ) ( 0 , 1 ] ; see Proposition 1, where ϵ stands for a positive and small value.
Remark 3. 
The upper and lower bounds established for L are essential to ensure the exponential observer and fulfill the positivity of subpopulations, that is, by considering the expression given in (21), the conditions A + y 2 ( t ) < L and 0 < L ensure the exponential convergence of z ˜ ( t ) ; see Equation (22). From the inequality A + y 2 ( t ) < L , the condition
H ( t ) < N ( t ) λ + ρ L α ,
is obtained, and the non-negativity of H ( t ) (see Proposition 1) leads to L < λ + ρ . Hence, the condition 0 < L < λ + ρ established in Theorem 2 is satisfied. Additionally, if α λ + ρ , the condition (24) is satisfied for any L ( 0 , λ + ρ ) and all t [ t 0 , ) .
At this point, note that all the state variables are known so an explicit expression for θ ( t ) in terms of those variables can be obtained from the equations in (11) and (12). By doing this, the following result is obtained.
Proposition 3. 
Under Assumptions 1–4, and considering the outputs y 1 ( t ) = σ x 2 ( t ) and y 2 ( t ) = α x 3 ( t ) , and x ^ 1 ( t ) obtained from (17), if A + y 2 ( t ) < L for all t [ t 0 , ) and some 0 < L < λ + ρ , the function
β ^ ( t ) = sat β m β M y ˙ 1 ( t ) B + y 2 ( t ) y 1 ( t ) x ^ 1 ( t ) y 1 ( t ) ,
with y 1 ( t ) 0 , t [ t 0 , ) , is an exponential estimation for the time-varying transmission rate β ( t ) .
Proof of Proposition 3. 
By isolating θ ( t ) from the dynamical equation for x 2 in (11) and (12), one obtains that
θ = x ˙ 2 B x 2 α x 2 x 3 x 1 x 2 ,
and considering x ^ 1 (see expression (17)), the error θ ˜ is given by the equation
θ ˜ = x ˙ 2 B x 2 α x 2 x 3 x ^ 1 x 1 x 2 x ˜ 1 .
The relation between θ ^ and β ^ given in (9) leads to
β ˜ = sat ( β M β m ) β M β m ( θ ˜ ) ,
so that
| β ˜ |   = sat 0 β M β m | x ˙ 2 B x 2 α x 2 x 3 x ^ 1 x 1 x 2 | | x ˜ 1 | .
With y 1 ( t ) 0 , t [ t 0 , ) (or equivalently x 2 ( t ) 0 , t [ t 0 , ) ), and considering x 1 ( t ) 0 and x ^ 1 ( t ) 0 t [ t 0 , ) (see Proposition 1), and the expression (17) for x ^ 1 , respectively, it follows that
| x ˙ 2 B x 2 α x 2 x 3 x ^ 1 x 1 x 2 | M
where M is positive and bounded. Thus,
| β ˜ |   sat 0 β M β m M | x ˜ 1 | < sat 0 β M β m M z ˜ ( t 0 ) e L ( t t 0 ) ,
which verifies that the expression given in (25) is an exponential estimation for β ( t ) . □

4. Parameter Estimation with One Output (New Hospitalizations)

In this section, the output y 1 is assumed to be the only available data. No linear combination has been found that transforms the nonlinear dynamical system (11) and (12) into a state-affine canonical form. If such a transformation existed, the problem would be simplified and could be solved, as demonstrated in the proof of Theorem 1 in Section 3.
In the absence of such a transformation, Section 4.1 introduces a diffeomorphism by output injection and output diffeomorphism to transform the nonlinear dynamical system (11) and (12) into the observer canonical form; see Theorem 2. Then, assuming that the parameter to be estimated varies slowly over time, Section 4.2 presents an adaptive observer for the estimation of both the unknown states and the transmission rate; see Theorem 3.
As a result of the approximations made in the diffeomorphism design (see Assumption 5 for details), the estimation errors do not converge to zero but remain bounded. In Section 4.3, additional information regarding the errors is assumed to be available, enabling the calculation of the estimation error bounds. Consequently, by considering both the estimates provided by the adaptive observer and the associated error margins, regions where the true value will lie can be determined.

4.1. Observer Canonical Form with Output Injection and Output Diffeomorphism

In this subsection, with the diffeomorphism proposed in Theorem 2, the dynamical systems (11) and (12) are transformed into the observer canonical form. Note that this transformation is only viable if one assumes that the term α x i ( t ) x 3 ( t ) , where i = 1 ,   2 ,   3 , is small enough so its effects are negligible in system (12).
Assumption 5. 
Let the parameter θ be constant and the term α x i ( t ) x 3 ( t ) , t [ t 0 , ) and for i = 1 , 2 , 3 be negligible enough such that f ( x ( t ) , θ ( t ) ) in (12) can be approximated as
f ( x ( t ) , θ ) A x 1 ( t ) θ x 1 ( t ) x 2 ( t ) ρ ( x 2 ( t ) + x 3 ( t ) ) B x 2 ( t ) + θ x 1 ( t ) x 2 ( t ) C x 3 ( t ) + σ x 2 ( t ) .
In this context, the conditions for the existence of diffeomorphism that transforms the nonlinear dynamical system into the observer canonical form given in [25,26] are fulfilled, so the steps to obtain such a change of variables have been followed. This leads to the diffeomorphism shown in the subsequent Theorem 2.
Theorem 2. 
Under Assumption 5, the change of coordinates
z ( t ) = T ( x ( t ) ) = C θ ( x 1 ( t ) + x 2 ( t ) ) A ln ( x 2 ( t ) ) θ ρ x 3 ( t ) θ ( x 1 ( t ) + x 2 ( t ) ) ( A + C ) ln ( x 2 ( t ) ) ln ( x 2 ( t ) ) ,
where T : U R 3 R 3 and U = { [ x 1 ( t ) x 2 ( t ) x 3 ( t ) ] T R 3 : x 2 ( t ) > 0 , t [ t 0 , ) } , is a local diffeomorphism which transforms the system (32) into the observer canonical form
z ˙ ( t ) = A c z ( t ) + ψ ( y 1 ( t ) , u 1 ( t ) , u 2 , θ ) , y ( t ) = C c z ( t ) ,
with a state vector z ( t ) = [ z 1 ( t ) z 2 ( t ) z 3 ( t ) ] T , and
A c = 0 0 0 1 0 0 0 1 0 , C c = 0 0 1 , ψ ( y 1 ( t ) , u 1 ( t ) , u 2 , θ ) = A B C + θ ( C ( ρ B ) ρ σ ) y 1 ( t ) σ C θ ( u 1 ( t ) + u 2 ) B ( C + A ) + θ ( B + C ρ ) y 1 ( t ) σ A C ln y 1 ( t ) σ + θ ( u 1 ( t ) + u 2 ) B θ y 1 ( t ) σ + ( A + C ) ln y 1 ( t ) σ .
Proof of Theorem 2. 
The inverse function of T is given by the expression
x = T 1 ( z ) = 1 θ z 2 θ e z 3 + ( A + C ) z 3 e z 3 1 θ ρ z 1 + C ( z 2 + C z 3 ) .
Then, it is straightforward that T 1 ( T ( x ) ) = x for each x U , and T ( T 1 ( z ) ) = z for each z R 3 . Thus, the function T : U R 3 R 3 is bijective.
The Jacobian matrix of the function T ( x ) leads to
T x = C θ C ( θ A x 2 ) θ ρ θ θ ( A + C ) x 2 0 0 1 x 2 0
whose terms exist and are continuous on U R 3 . Regarding the inverse function T 1 ( z ) , it follows that
T 1 z = 0 1 θ 1 θ ( θ e z 3 + A + C ) 0 0 e z 3 1 θ ρ C θ ρ C 2 θ ρ ,
whose terms also exist and are continuous on R 3 . Since the function T ( x ) has been proven to be bijective, and T ( x ) and T 1 ( z ) are continuously differentiable on their domain, the map T : U R 3 R 3 is a diffeomorphism.
Differentiating z with respect to time, where z = z 1 z 2 z 3 T , leads directly to the expression (34), that is,
z ˙ 1 = A B C + θ ( C ( ρ B ) ρ σ ) x 2 C θ ( u 1 + u 2 ) .
Then, the time derivative of the term z 2 gives
z ˙ 2 = θ ( A x 1 + B x 2 ρ ( x 2 + x 3 ) ) ( B + θ x 1 ) ( A + C ) + θ ( u 1 + u 2 ) .
Since x U = { [ x 1 x 2 x 3 ] T R 3 : x 2 > 0 } , expressions like ln x 2 are well defined through the proof, so the difference between z ˙ 2 and z 1 , which leads to
z ˙ 2 z 1 = B ( C + A ) + θ ( B + C ρ ) x 2 A C ln x 2 + θ ( u 1 + u 2 ) ,
is well defined, and the expression for z ˙ 2 in (34) is obtained by isolating z ˙ 2 from the expression (41). Finally, differentiating z 3 with respect to time yields
z ˙ 3 = θ x 1 + B ,
and, by calculating z ˙ 3 z 2 and isolating z ˙ 3 , one obtains that
z ˙ 3 = z 2 + B θ x 2 + ( A + C ) ln x 2 .
Thus, by substituting x 2 with y 1 σ into the expressions (39), (41) and (43), the observer canonical form (34) is obtained. □
Remark 4. 
Assuming that at t 1 , where t 0 t 1 , the case x 2 ( t 1 ) = 0 occurs, hospitalized people, if any, will disappear at any t t 1 , and susceptible people will not be infected anymore since the infected subpopulation does not exist, so x 2 ( t ) = 0 will be perpetuated for all t [ t 1 , ) . Therefore, this refers to a situation where the disease becomes extinct, and for this reason, the diffeomorphism T ( x ) is well defined over the set U, and it does not apply to cases where x 2 = 0 .
The requisites for the existence of a diffeomorphism that transforms (11) and (12) into (34) can be used in two different ways depending on whether the inputs are user-defined. For inputs that are not user-defined, such as those in the dynamical system (11) and (12), the next step is to verify whether the conditions for the existence of the diffeomorphism are met. In contrast, in cases where the inputs can be defined, they can be chosen in a way that ensures the existence of the diffeomorphism.
Specifically, when the transmission rate θ ( t ) in (11) and (12) is considered as an input, the diffeomorphism remains valid under the assumption θ ˙ ( t ) 0 . However, if θ ( t ) does not satisfy the condition condition (i.e., θ ˙ ( t ) 0 ), a time-varying function for θ ( t ) can be assigned for the existence of the diffeomorphism. These results are formalized in Corollary 1.
Corollary 1. 
Under Assumption 5, the change of coordinates (33) transforms the system (32) into the observer canonical form (34) for a time-dependent θ ( t ) whose variations with respect to time are small enough to assume that
θ ˙ ( t ) 0 ,
where ψ ( y 1 , u ) is given in (35), or a time-dependent transmission rate with the form
θ ( t ) = θ + u 3 ( t ) x 1 ( t ) ,
for any x 1 > 0 , where
ψ ( y 1 ( t ) , u 1 ( t ) , u 2 , u 3 ( t ) , θ ) = A B C + θ ( C ( ρ B ) σ ρ ) y 1 ( t ) σ C θ ( u 1 ( t ) + u 2 ) + C A u 3 ( t ) ( B + u 3 ( t ) ) ( C + A ) + θ ( B + C ρ ) y 1 ( t ) σ A C ln y 1 ( t ) σ + θ ( u 1 ( t ) + u 2 ) B + u 3 ( t ) θ y 1 ( t ) σ + ( A + C ) ln y 1 ( t ) σ .
The proof of Corollary (1) follows directly from the following steps: (i) substituting θ with θ in expression (32), and maintaining θ in (33); (ii) differentiating with respect to time the change of variables given by the expression (33), as seen in the proof of Theorem 2. Furthermore, from the point (i) in Proposition 1, it follows that x 1 > 0 , so the function θ given in (45) is defined and well defined on the domain x 1 > 0 .

4.2. Adaptive Observer

With the nonlinear dynamical system (11) and (12) transformed into the observer canonical form (34) and (35), the state variables and the parameter estimation problem will be solved with the adaptive observer proposed in [28], which is given in Theorem 3 of this subsection. Assuming that the terms α x i x 3 , where i = 1 ,   2 ,   3 , and θ ˙ are small enough, this observer is characterized by global exponential convergence.
Since we are interested in identifying the parameter θ , let us rewrite the dynamical system (34) and (35) in a more appropriate form, that is,
z ˙ ( t ) = A c z ( t ) + B c u ( t ) + ϕ ( y 1 ( t ) , u 1 ( t ) , u 2 ) θ , y ( t ) = C c z ( t ) ,
where
B c = 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 , u ( t ) = u 1 u 2 u 3 u 4 u 5 = v ( t ) N ( t ) ρ + λ A B C B ( C + A ) A C ln y 1 ( t ) σ B + ( A + C ) ln y 1 ( t ) σ , ϕ ( y 1 ( t ) , u 1 ( t ) , u 2 ) = ( C ( ρ B ) ρ σ ) y 1 ( t ) σ C ( u 1 ( t ) + u 2 ) ( B + C ρ ) y 1 ( t ) σ + ( u 1 ( t ) + u 2 y 1 ( t ) σ
Regarding ϕ , its dependence with respect to the known signals can simply be considered as a dependence of the time t. So, for the sake of simplicity, we will use ϕ ( t ) instead of ϕ ( y 1 ( t ) , u 1 ( t ) , u 2 ) .
Now, we will recall some important points for the application of the adaptive observer in [28]. Note that those assumptions and corollaries in [28] have been adapted for our particular case.
Assumption 6. 
Assume a matrix pair ( A c , C c ) in system (47) is such that there exists a gain vector K R 3 so that the system
η ˙ ( t ) = A c K C c η ( t )
is exponentially stable.
Considering that λ = 0 for all λ σ ( A c ) (i.e., critically stable), where σ ( A c ) = { λ C : det ( A c λ I ) = 0 } and I stands for the identity matrix, it follows that the condition
rank λ I A c C c = 3 , λ σ ( A c ) ,
is satisfied (note that this condition is usually referred to as the Belevith–Popov–Haulus requirement for detectability). Therefore, according to Lemma 7.1.2 in [38], the pair ( A c , C c ) is detectable, that is, all the unstable and/or critically stable modes of A c , if any, are observable, and they can be asymptotically stabilized by output feedback through some constant gain matrix K; see the subsequent result.
Corollary 2. 
Given the matrix pair ( A c , C c ) satisfying the detectability condition, the gain vector K R 3 can be chosen as the solution of the stationary Riccati equation
K = P C c T 0 = A c P + P A c T + P G P + Q ,
where
G = B c B c T and Q = C c T C c .
The pole placement method is an alternative solution to the stability condition problem.
Assumption 7. 
Let Υ ( t ) R 3 be a vector of signals generated by the ODE system
Υ ˙ ( t ) = A c K C c Υ ( t ) + ϕ ( t ) .
Assume that ϕ ( t ) is persistently exciting so that there exist three positive constants δ, ν, T and some positive Σ ( t ) R such that for all t, the following inequality holds
δ t t + T Υ T ( τ ) C c T Σ ( τ ) C c Υ ( τ ) d τ ν .
Now that all the necessary assumptions have been stated, the proposed adaptive observer in [28] is given in the following Theorem 3.
Theorem 3 
(Adaptive observer [28]). Let Γ R be any positive scalar. Under Assumptions 6 and 7 for constant θ, the ODE system
z ^ ˙ ( t ) = A c z ^ ( t ) + B c u ( t ) + ϕ ( t ) θ ^ + K + Υ ( t ) Γ Υ T ( t ) C c T Σ ( t ) y ( t ) C c z ^ ( t ) θ ^ ˙ ( t ) = Γ Υ T ( t ) C c T Σ ( t ) y ( t ) C c z ^ ( t )
is globally exponential adaptive observer for system (47), i.e., for any initial conditions z ^ ( t 0 ) , θ ^ ( t 0 ) , the errors z ^ ( t ) z ( t ) and θ ^ ( t ) θ tend to zero exponentially fast when t .
Remark 5. 
The diffeomorphism T ( x ( t ) ) expressed by (33) in Theorem 2 considers θ constant, while its estimated value ( θ ^ ( t ) ) is time-varying. However, T ( x ( t ) ) remains valid as a diffeomorphism even when θ is time-varying because the mapping (the transformation from the x-coordinates to the z-coordinates and vice versa) is still smooth, invertible, and well defined for any θ ( t ) . In cases where θ varies with respect to time, we will refer to the diffeomorphism as T ( x ( t ) , θ ( t ) ) .
Remark 6 
(Initial conditions z ^ ( t 0 ) and θ ^ ( t 0 ) ). Given Assumption 2, the values of θ ^ ( t 0 ) must be chosen so their values lie on the region delimited by the upper and lower bounds β M and β m , respectively (i.e., θ ^ ( t 0 ) [ β m , β M ] ). Note that considering θ ^ ( t 0 ) [ β m , β M ] implies β ^ ( t 0 ) = θ ^ ( t 0 ) ; see expression (9). Although bounds delimiting the value of z ^ ( t 0 ) are not known, the bounds of x ( t ) can be considered to obtain an adequate z ^ ( t 0 ) , that is, given Proposition 1 and the subset U where the diffeomorphism T ( x , θ ) is defined (see Theorem 2), each subpopulation estimation must be chosen such that the conditions 0 < x ^ i ( t 0 ) 1 for i = 1 , 2 , and 0 x ^ 3 ( t 0 ) 1 are met. Additionally, given the output y 1 ( t ) = σ x 2 ( t ) , x ^ 2 ( t 0 ) can be defined as x ^ 2 ( t 0 ) = y 1 ( t 0 ) / σ . Once θ ^ ( t 0 ) and x ^ ( t 0 ) are defined, the diffeomorphism T ( x ^ ( t 0 ) , β ^ ( t 0 ) ) will provide z ^ ( t 0 ) .
Given the estimation θ ^ ( t ) , β ^ ( t ) is computed with Equation (9). Once z ^ ( t ) and β ^ ( t ) are determined, the diffeomorphism T 1 ( z ^ ( t ) , β ^ ( t ) ) will give the estimation of x ( t ) for all t [ t 0 , ) , that is,
x ^ 1 ( t ) = sat ϵ 1 ( [ T 1 ( z ^ ( t ) , β ^ ( t ) ) ] 1 ) and x ^ i ( t ) = sat 0 1 ( [ T 1 ( z ^ ( t ) , β ^ ( t ) ) ] i ) : i = 2 ,   3 ,
where the notation [ v ] i refers to the i-th component of the vector v. Recall that this notation is defined in the Notation section. Furthermore, ϵ is a positive and small value which follows from Proposition 1, point (i), that is, x 1 ( t ) is positive for the any initial condition defined as in Assumption 4.

4.3. Robustness in the Presence of Errors

Before applying the diffeomorphism by output injection and output diffeomorphism to the nonlinear dynamical system (11) and (12), the terms α x i ( t ) x 3 ( t ) , for i = 1 ,   2 ,   3 , and θ ˙ ( t ) were assumed to be small enough to be neglected. Since the adaptive observer proposed in the previous section was designed for an ideal system were those conditions were assumed to be true, in this subsection, their effects through the change of coordinates and the adaptive observer will be analyzed.
Considering the term α x i ( t ) x 3 ( t ) as an unknown error w i ( t ) for each i = 1 ,   2 ,   3 , the dynamical system (11) can be rewritten as
x ˙ ( t ) = f ( x ( t ) ) + i 2 g i u i ( t ) + w 1 ( t ) w 2 ( t ) w 3 ( t )
where f ( x ( t ) ) is defined as in (32), and the expressions for g i and u i are given in (12) and (13), respectively. Then, the resulting dynamical system after applying the diffeomorphism T ( x ( t ) , θ ( t ) ) is given in the subsequent Corollary 3.
Corollary 3. 
Let us consider w i ( t ) = α x i ( t ) x 3 ( t ) for i = 1 ,   2 ,   3 , and a time-varying θ, so the change of variables z ( t ) = T ( x ( t ) , θ ( t ) ) given in (33) transforms the dynamical system (57) into
z ˙ ( t ) = A c z ( t ) + B c u ( t ) + ϕ ( t ) θ ( t ) + ϕ w ( t ) θ ˙ ( t ) + θ ( t ) + w ( t ) ,
where
ϕ w ( t ) = C ( w 1 ( t ) + w 2 ( t ) ) ρ w 3 ( t ) w 1 ( t ) + w 2 ( t ) 0 and w ( t ) = C A σ w 2 ( t ) y 1 ( t ) ( A + C ) σ w 2 ( t ) y 1 ( t ) σ w 2 ( t ) y 1 ( t ) ,
and ϕ w ( t ) R 3 , and w ( t ) R 3 are the regression vector function error and the state error, respectively.
Remark 7. 
The expressions for w 2 ( t ) and y 1 ( t ) given in the statement of Corollary 3 and in the Equation (15), respectively, lead to
σ w 2 ( t ) y 1 ( t ) = α x 3 ( t ) ,
such that for a bounded w 2 ( t ) , the term σ w 2 ( t ) y 1 ( t ) as y 1 ( t ) 0 (i.e., there is not a singularity). Since one of the objectives in this subsection is to analyze the error on the adaptive observer, results in terms of errors derived from some assumptions (e.g., the error w 2 ( t ) comes from Assumption 5), we prefer to maintain σ w 2 ( t ) y 1 instead of α x 3 ( t ) for clarity purposes.
Remark 8. 
Considering that all the normalized subpopulations are bounded (i.e., x i ( t ) 1 ), then w i ( t ) = α x i ( t ) x 3 ( t ) is also bounded for all i = 1 , 2 , 3 and for all t [ t 0 , ) . Given the expression for ϕ w ( t ) in (59), since its terms are linear in w i ( t ) , it is straightforward that each component of ϕ w ( t ) is also bounded. Furthermore, from the equivalence provided by Equation (60) and the expression for w ( t ) in (59), it follows that each term of w ( t ) is bounded too.
Due to the existence of the regression vector function error ϕ w and the state error w, the estimations given by the adaptive observer (55) will not converge to the exact state and transmission rate values, that is, the adaptive observer (55) is designed for the dynamical system (47) and (48), which is known to have some inherent errors, see expressions (58) and (59) in Corollary 3. Therefore, as these errors are not being considered in (55), the solutions of the adaptive observer are found to not converge to the real values. This idea is formally developed in the subsequent theorem.
Theorem 4 
(Adaptive Observer for the system (34)–(35) in the Presence of Errors). Under Assumptions 6 and 7, and considering that ϕ w ( t ) and w ( t ) are bounded, given θ ˙ ( t ) = q ( t ) such that
z ˙ ( t ) = A c z ( t ) + B c u ( t ) + ϕ ( t ) θ ( t ) + ϕ w ( t ) θ ˙ ( t ) + θ ( t ) + w ( t ) θ ˙ ( t ) = q ( t ) y ( t ) = C c z ( t ) ,
the adaptive observer (55) gives a state estimate x ^ ( t ) and a parameter estimate θ ^ ( t ) with bounded errors.
Proof of Theorem 4. 
In [28], it is assumed that the regression vector function error does not exist. Here, the proof provided in [28] will be extended to the system (61), where ϕ w is considered. Additionally, to prove that Theorem can be generalized to any pair matrix and not only for those with the form expressed in (35), during the proof, the matrices A c and C c will be considered as any constant matrices.
Let us calculate the term z ˜ = z ^ z ,
z ˜ ˙ = A c K C c z ˜ ( t ) + ϕ ( t ) θ ˜ + Υ ( t ) θ ^ ˙ ( t ) ϕ w ( t ) θ ˙ ( t ) + θ ( t ) w ( t )
and taking into account that θ ˜ = θ ^ θ , it follows that
z ˜ ˙ ( t ) = A c K C c z ˜ ( t ) + ϕ ( t ) θ ˜ ( t ) + Υ ( t ) θ ˜ ˙ ( t ) + Υ ( t ) θ ˙ ( t ) ϕ w ( t ) θ ˙ ( t ) + θ ( t ) w ( t )
Let us define η ( t ) as
η ( t ) = z ˜ ( t ) Υ ( t ) θ ˜ ( t ) ,
whose time derivative
η ˙ ( t ) = z ˜ ˙ ( t ) Υ ˙ ( t ) θ ˜ ( t ) Υ ( t ) θ ˜ ˙ ( t )
leads to
η ˙ ( t ) = A c K C c η + A c K C c Υ ( t ) + ϕ ( t ) Υ ˙ ( t ) θ ˜ ( t ) + Υ ( t ) θ ˙ ( t ) ϕ w ( t ) θ ˙ ( t ) + θ ( t ) w ( t )
By taking into account Equation (53) (see Assumption 7), then
η ˙ ( t ) = A c K C c η ( t ) + Υ ( t ) ϕ w ( t ) q ( t ) ϕ w ( t ) θ ( t ) w ( t ) .
Note that, from Equation (53), Υ ( t ) has a bounded solution for bounded ϕ ( t ) . Thus, for bounded q ( t ) , ϕ w ( t ) and w ( t ) , since the homogeneous part is exponentially stable, the solution for the ODE (67) will also be bounded and will be characterized by an exponential convergence.
Regarding θ ˜ ˙ ( t ) ,
θ ˜ ˙ ( t ) = Γ Υ T ( t ) C c T Σ C c Υ ( t ) θ ˜ ( t ) Γ Υ T ( t ) C c T Σ C c η ( t ) q ( t ) .
Thus, as the homogeneous part of the equation above is globally exponentially stable (see the proof of Theorem 1 in [28]), then the solution for the forced system will exponentially converge towards a bounded value. □
As a consequence of the results stated in Theorem 4 and its proof, the existence of an estimation error is proved, and its values are defined by the solutions of Equations (64)–(68). Even if the estimation error given by (64)–(68) depends on unknown variables such as q ( t ) , ϕ w ( t ) , θ ( t ) , and w ( t ) , considering that their values are bounded (see Remark 8), their upper values exist, so they might be used to calculate the maximum estimation error, whose value is important in the sense that it is certain that the real value will lie within the range defined by the estimated value plus and minus the maximum estimation error. Before giving the expression for the maximum estimation error, which is provided in Proposition 4, let us clarify that we will refer to the norm · 2 as · for simplicity reasons. Additionally, consider the inequality for the matrix exponential norm provided in Lemma 1
Lemma 1 
(Matrix Exponential Norm [39]). Given a matrix A C n × n with spectrum σ ( A ) = { λ C : det A λ I n × n = 0 } , there exists a unitary matrix U C n × n such that A can be expressed as
U * A U = D + T r ,
where D = diag ( λ i ) and λ i σ ( A ) (including multiplicities) for all i = 1 , , n , and [ T r ] i , j = 0 if i j for all i , j = 1 , , n . Then, the norm of the matrix exponential e A t satisfies the inequality
e A t   e ν ( A ) t k = 0 n 1 T r t k k !
where ν ( A ) = max { Re ( λ ) : λ σ ( A ) } .
Note that in the particular case where A is diagonalizable, as a result of the expression (70) in Lemma 1, the inequality
e A t   e ν ( A ) t
holds.
Lemma 2. 
Assuming that the initial values θ ^ ( t 0 ) and x ^ i ( t 0 ) for i = 1 , 2 , 3 are chosen such that (i) θ ^ ( t 0 ) [ β m , β M ] ; (ii) 0 < x ^ 1 ( t 0 ) 1 , 0 x ^ 3 ( t 0 ) 1 , and x ^ 2 ( t 0 ) = y 1 ( t 0 ) / σ ; and (iii) x ^ 1 ( t 0 ) + x ^ 2 ( t 0 ) + x ^ 3 ( t 0 ) 1 , then
| θ ˜ ( t 0 ) |   θ ¯ β M β m ,
where
| θ ˜ ( t 0 ) | = | θ ^ ( t 0 ) θ ( t 0 ) | and θ ¯ = max { | β m θ ^ ( t 0 ) | , | β M θ ^ ( t 0 ) | } ,
and
η ( t 0 )   β M ( | C | + ρ ) 2 + 1 + Υ ( t 0 ) θ ¯ .
Proof. 
The first result (see Equation (72)) follows directly from the properties of absolute values and the fact that θ ^ ( t 0 ) and θ ( t 0 ) are constrained to the same interval. Regarding the second result (see Equation (74)), first consider the expression (64) whose norm leads to
η ( t )     z ˜ ( t ) + Υ ( t ) θ ¯ .
Since z ˜ ( t ) = z ^ ( t ) z ( t ) , where z ^ = T ( x ^ ( t ) , θ ^ ( t ) ) and z = T ( x ( t ) , θ ( t ) ) , and considering x ^ 2 ( t ) = y 1 ( t ) / σ = x 2 ( t ) , it follows that
z ˜ ( t )   =   C θ ^ ( t ) ( x ^ 1 ( t ) + x ^ 2 ( t ) ) θ ( t ) ( x 1 ( t ) + x 2 ( t ) ) ρ ( θ ^ ( t ) x ^ 3 θ x 3 ) θ ^ ( t ) ( x ^ 1 ( t ) + x ^ 2 ( t ) ) θ ( t ) ( x 1 ( t ) + x 2 ( t ) ) 0 .
The bounds θ ^ ( t 0 ) [ β m , β M ] , 0 < x ^ 1 ( t 0 ) 1 , and 0 x ^ 3 ( t 0 ) 1 , and the condition x ^ 1 ( t 0 ) + x ^ 2 ( t 0 ) + x ^ 3 ( t 0 ) 1 lead to
z ˜ ( t 0 ) β M | C | + ρ 2 + 1 ,
so the inequality (74) holds. □
Proposition 4 (Adaptive Observer Maximum Estimation Error).
Consider the dynamical system (61). Then, given the upper bounds
q ¯ = sup t 0 τ | q ( τ ) | , ϕ ¯ w = sup t 0 τ ϕ w ( τ ) , β M = sup t 0 τ | θ ( τ ) | , w ¯ = sup t 0 τ w ( τ ) ,
the estimated θ ^ maximum error θ ^ E ( t ) is given by
θ ^ E ( t ) = Φ θ ˜ ( t , t 0 ) θ ¯ + t 0 t Φ θ ˜ ( t , τ ) Γ Σ | Υ c ( τ ) | η E ( τ ) + q ¯ d τ ,
where Υ c ( t ) = C c Υ ( t ) , Φ θ ˜ ( t , τ ) = e τ t Γ Σ Υ c 2 ( τ ) d τ , and
η E ( t ) = Φ ¯ η ( t , t 0 ) β M ( | C | + ρ ) 2 + 1 + Υ ( t ) θ ¯ + t 0 t Φ ¯ η ( t , τ ) Υ ( τ ) + ϕ ¯ w q ¯ + ϕ ¯ w β M + w ¯ d τ ,
where Φ ¯ η ( t , τ ) = e ν ( ( A c K C c ) ) ( t τ ) k = 0 2 T r ( t τ ) k k ! , and θ ¯ is defined as in Lemma 2. The maximum error z ^ E ( t ) is given by
z ^ E ( t ) = η E ( t ) + Υ ( t ) θ ^ E ( t ) .
Proof of Proposition 4. 
The norm of the solution of the differential Equation (67) satisfies the inequality
η ( t )     Φ η ( t , t 0 ) η ( t 0 ) + t 0 t Φ η ( t , τ ) Υ ( τ ) + ϕ w ( τ ) | q ( τ ) | + ϕ w ( τ ) | θ ( t ) | + w ( τ ) d τ ,
where Φ η ( t , τ ) is the transition matrix of the differential Equation (67). The condition for the norm of exponential matrices given in Lemma 1 leads to
Φ η ( t , τ ) Φ ¯ η ( t , τ ) = e ν ( ( A c K C c ) ) ( t τ ) k = 0 2 T r ( t τ ) k k ! .
By substituting the upper bound for η ( t 0 ) given in (74), the upper bounds in (78), and Φ ¯ η ( t , τ ) on the right-hand side of the inequality (82), the inequality
η ( t ) η E ( t )
is obtained, where η E ( t ) is defined as in (80).
From Equation (68), it follows that
| θ ˜ ( t ) | Φ θ ˜ ( t , t 0 ) | θ ˜ ( t 0 ) | + t 0 t Φ θ ˜ ( t , τ ) Γ Σ | Υ c ( τ ) | η ( τ ) + | q ( τ ) | d τ ,
where Υ c ( t ) = C c Υ ( t ) is a scalar function, and Φ θ ˜ is the transition matrix of the ODE (68) which fulfills
Φ θ ˜ ( t , τ ) = e τ t Γ Σ Υ c 2 ( τ ) d τ .
Considering the upper bounds given in (78), the upper bound for | θ ˜ ( t 0 ) | defined in (72), and the inequality (84), the maximum error of θ ^ is obtained;
θ ^ E = Φ θ ˜ ( t , t 0 ) θ ¯ + t 0 t Φ θ ˜ ( τ , t ) Γ Σ | Υ c ( τ ) | η E ( τ ) + q ¯ d τ ,
so the inequality | θ ˜ ( t ) | θ ^ E ( t ) is satisfied. By substituting η E ( t ) and θ ^ E ( t ) into (64), the expression (81) is obtained, which stands for the maximum error of z ^ , and fulfills the inequality z ˜ ( t )     z ^ E ( t ) . □
Remark 9. 
The term σ w 2 ( t ) / y 1 ( t ) is equal to the number of deaths at a time t (see expression (60) in Remark 7), so let the maximum number of deaths during the epidemic be defined as α ¯ , such that α ¯ σ w 2 ( t ) y 1 ( t ) for all t [ t 0 , ) ; then, an upper bound for w ( t ) and ϕ w ( t ) can be obtained from (59), that is,
w ¯ = α ¯ C A ( A + C ) 1 ,
and
ϕ ¯ w = α ¯ ( C + ρ ) 1 0 .
Thus, if the values for q ¯ , β M , and α ¯ are given, the maximum estimation error can be calculated with Equations (79)–(81).
To obtain ϕ ¯ w from ϕ w ( t ) , first, the equality w i ( t ) = α x i ( t ) x 3 ( t ) for i = 1 ,   2 ,   3 is taken into account, so
ϕ w ( t ) = α x 3 ( t ) C ( x 1 ( t ) + x 2 ( t ) ) x 1 ( t ) + x 2 ( t ) 0 T   α ¯ C ( x 1 ( t ) + x 2 ( t ) ) x 1 ( t ) + x 2 ( t ) 0 T .
The sum of normalized subpopulations cannot exceed 1 for all t [ t 0 , ) , hence the expression (89).
Since β ( t ) is bounded, the transmission rate maximum estimation error β ^ E ( t ) can be determined as
β ^ E ( t ) = min β M β m , θ ^ E ( t ) ,
so
β ^ E ± ( t ) = sat β m β M ( β ^ ( t ) ± β ^ E ( t ) )
where β ^ E + ( t ) and β ^ E ( t ) stand for β ’s maximum upper and lower estimation bounds, respectively. Let I E β ^ ( t ) be the area delimited by β ^ E + ( t ) and β ^ E ( t ) , that is,
I E β ^ ( t ) = { x R : β ^ E ( t ) x β ^ E + ( t ) } .
Once the estimations z ^ ( t ) and β ^ ( t ) , and their respective maximum errors β ^ E ( t ) and z ^ E ( t ) are calculated, with the diffeomorphism given in (36), the maximum error propagation formula defined as
i = 1 n | f x i | Δ x i
where f ( x 1 , , x n ) stands for any function with variables x 1 , , x n , can be applied so the maximum error corresponding to the states x i ( t ) for all i = 1 ,   2 ,   3 is obtained. The result of this process is given in the next corollary.
Corollary 4.
(Maximum State Estimation Error) Given the diffeomorphism x ^ ( t ) = T 1 ( z ^ ( t ) , β ^ ( t ) ) and the maximum estimation errors β ^ E ( t ) and z ^ E ( t ) , the maximum estimation error of x ^ i ( t ) is given by
x ^ 1 , E ( t ) = 1 β ^ ( t ) z ^ E ( t ) + β ^ ( t ) e z ^ 3 ( t ) + A + C β ^ ( t ) z ^ E ( t ) + z ^ 2 ( t ) + ( A + C ) z ^ 3 ( t ) β ^ ( t ) 2 β ^ E ( t ) x ^ 2 , E ( t ) = | e z ^ 3 ( t ) | z ^ E ( t ) x ^ 3 , E ( t ) = 1 + C + C 2 β ^ ( t ) ρ β ^ E ( t ) .
The proof of Corollary 4 follows from the error propagation formula (see expression (94)) applied to the diffeomorphism T 1 ( z ^ ( t ) , β ^ ( t ) ) . Although z ^ i , E ( t ) for any i = 1 ,   2 ,   3 is unknown, the inequality z ^ i , E ( t ) z ^ E ( t ) holds for i = 1 ,   2 ,   3 , so each z ^ i , E ( t ) has been substituted by z ^ E ( t ) such that the expressions for x ^ 1 , E , x ^ 2 , E , and x ^ 3 , E in (95) have been obtained.
Taking into account that the normalized subpopulations fulfill the conditions x 1 ( t ) ( 0 , 1 ] and x 2 , 3 ( t ) [ 0 , 1 ] (see Proposition 1), the maximum upper and lower bounds of the state estimations, x ^ i , E + ( t ) and x ^ i , E ( t ) for i = 1 , 2 , 3 , respectively, are given by the following expressions:
x ^ 1 , E ± ( t ) = sat ϵ 1 x ^ 1 ( t ) ± x ^ 1 , E ( t ) x ^ i , E ± ( t ) = sat 0 1 x ^ i ( t ) ± x ^ i , E ( t ) : i = 2 ,   3 .
Let I E x ^ i ( t ) be the area delimited by x ^ i , E + ( t ) and x ^ i , E ( t ) ,
I E x ^ i ( t ) = { x R : x ^ i , E ( t ) x x ^ i , E + ( t ) } for i = 1 ,   2 ,   3 .
Remark 10. 
Given information related to the unknown variables α x 3 ( t ) , q ( t ) , θ ( t ) , and w i ( t ) for i = 1 , 2 , 3 , they might be approximated so estimation errors θ ^ e ( t ) and z ^ e ( t ) smaller than θ ^ E ( t ) and z ^ E ( t ) , respectively, could be obtained. For example, let us assume that the total number of deaths, the average transmission rate θ ¯ ¯ and its average change q ¯ ¯ during the period [ t 0 , t 1 ] are given, then α x 3 ( t ) and q ( t ) can be approximated as follows:
α x 3 ( t ) α ¯ ¯ = α t 1 t 0 t 0 t 1 x 3 ( τ ) d τ ,
where t 0 t 1 x 3 ( τ ) d τ is the total number of deaths during the period [ t 0 , t 1 ] (assumed to be known), so α ¯ ¯ is the average number of deaths per day, and
θ ( t ) θ ¯ ¯ , q ( t ) q ¯ ¯ .
From the approximation α x 3 ( t ) α ¯ ¯ , one obtains that
w w ¯ ¯ = α ¯ ¯ C A ( A + C ) 1 ,
and
ϕ w   ϕ ¯ ¯ w = α ¯ ¯ ( C + ρ ) 1 0 .
Thus, with Equations (80), (81) and (85), an approximation of the estimation errors can be calculated, that is,
η ( t ) η e ( t ) = Φ ¯ η ( t , t 0 ) β M ( | C | + ρ ) 2 + 1 + Υ ( t ) θ ¯ ¯ + t 0 t Φ ¯ η ( t , t 0 ) Υ ( τ ) + ϕ ¯ ¯ w | q ¯ ¯ | + ϕ ¯ ¯ w θ ¯ ¯ + w ¯ ¯ d τ ,
and
| θ ˜ ( t ) | θ ^ e ( t ) = Φ θ ˜ ( t , t 0 ) θ ¯ ¯ + t 0 t Φ θ ˜ ( t , τ ) Γ Σ | Υ c ( τ ) | η e ( τ ) + | q ¯ ¯ | d τ
from which it follows that
z ˜ ( t )   z ^ e ( t ) = η e ( t ) + Υ ( t ) θ ^ e ( t ) .
All the equations involving the maximum error (e.g., β ^ E ( t ) ) are also valid for these errors by substituting the subscript E with e (e.g., replacing the subscript E with e in (92) yields β ^ e ± ( t ) = sat β m β M ( β ^ ( t ) ± β ^ e ( t ) ) ).
Remark 11. 
By considering both the maximum and approximated errors, it is possible to obtain an overview of the worst and average scenarios, respectively, which can be beneficial in control applications. Specifically, the approximated error helps to optimize performance under constraints, while the maximum error ensures robustness and safety. For example, if control inputs (e.g., vaccination) have a constraint (e.g., limited vaccines) and the controller is designed to minimize the number of hospitalized people, the control outputs obtained by considering x ^ 3 , e + ( t ) rather than x ^ 3 , E + ( t ) will be less strict and beneficial (the control input constraints will be more respected). If the aim is to avoid critical situations, like the number of hospitalized people going beyond the number of available beds in hospitals, x ^ 3 , E + ( t ) should be considered instead.

5. Parameter Estimation with One Output (New Deaths)

If only the number of deaths per day y 2 ( t ) = α x 3 ( t ) is provided, the number of new hospitalized people per day y 1 ( t ) = σ x 2 ( t ) can be computed numerically. Then, one can use the first method (see Section 3) or the second method (see Section 4).
From the expression for x ˙ 3 ( t ) in the set of Equations (11) and (12), the state variable x 2 estimate can be computed;
x ^ 2 ( t ) = 1 σ α y ˙ 2 ( t ) y 2 ( t ) ( C + y 2 ( t ) ) ,
so the output y ^ 1 ( t ) = σ x ^ 2 ( t ) is obtained. Thus, methodologies developed in previous sections can be used.

6. Simulation Results

The results of the estimation methods developed with respect to the output availability will be shown via different theoretical simulations. Version R2022a of MATLAB has been used for the numerical methods, and all the ODEs have been solved with the solver ode89(), where the selected time step is 1 day (i.e., the solutions of the ODEs are sampled at equi-spaced intervals of 1 day). Every time a dynamical system was solved, if any of the inputs were discrete time series, they were previously interpolated with the function interp1() to transform them into continuous time inputs (a necessary step since the function ode89() needs continuous time inputs). To show the simulated results, the function plot() has been used, which for all points connects with line segments at each side-by-side point.
Since the aim is to show a reliable model and a parameter estimation method, the parameters chosen for this purpose coincide with the COVID-19 characteristics (e.g., the death rate α corresponds to the COVID-19 death rate); see Table 2 for more details. Then, with a predefined time-varying vaccination function and transmission rate, and the parameters and initial state values shown in Table 2 and Table 3, respectively, the differential Equations (11) and (12) were solved from t 0 = 0 to t f = 1825 days, from which the outputs new hospital admission ( y 1 ( t ) = σ x 2 ( t ) ) and new deaths ( y 2 ( t ) = α x 3 ( t ) ) were gathered. Additionally, the upper bounds and the average values of θ ( t ) , q ( t ) and α x 3 ( t ) were computed from the obtained solutions; see the resulting values in Table 4. Then, the methods seen in Section 3, Section 4 and Section 5 were applied. More details about the steps followed are given in the subsequent enumeration:
  • Epidemic model simulation and data extraction: With the vaccination function
    v ( t ) { 0 , if 0 t < 1459 8.21 10 4 1 + sin 2 π 365 t , if 1459 t < t f ,
    where t f = 1825 days, and the parameters and the initial values shown in Table 2 and Table 3, respectively, the dynamical system (11) and (12) has been solved for a constant, and a time-varying β ( t ) , where
    β ( t ) { 0.36 + 0.056 sin 2 π 365 t + π , if 0 t < 1102 6.77 10 5 t + 0.289 , if 1102 t < 1459 0.382 , if 1459 t < t f
  • Parameter estimation with two outputs: From the epidemic model simulation carried out in step 1, the outputs y 1 ( t ) and y 2 ( t ) were extracted. After verifying that the condition A + y 2 ( t ) < 0 for all t [ t 0 , t f ] was satisfied, with the initial value z ^ ( t 0 ) shown in Table 3, z ^ was computed from the dynamical system (16), so the state estimate x ^ 1 ( t ) was calculated from Equation (17); see the left-side subfigures in Figure 1 and Figure 2. After obtaining the time derivative y ˙ 1 ( t ) with the Euler’s forward method, that is,
    y ˙ 1 ( t ) = y 1 ( t + h ) y 1 ( t ) h ,
    where h = 1 day is the time step, the estimation β ^ ( t ) was computed with Equation (25); see the right-side subfigures in Figure 1 and Figure 2.
  • Parameter estimation with one output (new hospitalizations): From the epidemic model simulation carried out in step 1, the output y 1 ( t ) was gathered. As the change of variables z ( t ) = T ( x ( t ) ) is a diffeomorphism on U = { [ x 1 x 2 x 3 ] T R 3 : x 2 > 0 } , before proceeding with the solution of the adaptive observer, the condition y 1 ( t ) > 0 for all t [ t 0 , t f ] was verified to be true.
    (a)
    Given Equations (53) and (55), with the initial values shown in Table 3, and
    K = 0.145 0.5 0.854 , Σ = 10 , Γ = 10 ,
    the estimations z ^ ( t ) and θ ^ ( t ) were obtained. Note that (i)K follows from the Riccati Equation (51), whose solution comes from MATLAB’s function icare(); (ii) the eigenvalues of the matrix A c K C c have a negative real part and are distinct (i.e., σ ( A c K C c ) = { 0.459 , 0.197 + 0.529 i , 0.197 0.529 i } ); (iii) since the matrix A c K C c is diagonalizable, Φ ¯ η ( t , τ ) = e ν ( ( A c K C c ) ) ( t τ ) = e 0.197 ( t τ ) ; (iv) regarding initial values, as y 1 ( t ) is known (and therefore x 2 ( t ) ), the chosen x ^ 2 ( t 0 ) is equal to x 2 ( t 0 ) ; see Table 3.
    (b)
    Then, β ^ ( t ) and x ^ ( t ) followed from the solution of Equations (53), (55) and (56).
    (c)
    Assuming that the upper bound α ¯ is known (refer to Table 4 for its value), the bounds ϕ ¯ w and w ¯ were calculated with Equations (89) and (88), respectively; see Table 5. Then, assuming that θ ¯ and q ¯ were also known, given the expressions (79)–(81), θ ^ E ( t ) and z ^ E ( t ) were computed. Note that all the integrals appearing in those expressions were solved with the function trapz(). From the maximum estimation errors β ^ E ( t ) and x ^ i , E ( t ) for i = 1 ,   2 ,   3 calculated with Equations (92) and (96), the time-varying maximum estimation bounds β ^ E + , β ^ E , x ^ i , E + and x ^ i , E for i = 1 ,   2 ,   3 were computed. See Figure 3 and Figure 4, where the areas I E β ^ and I E x ^ i defined by the Equations (93) and (97), respectively, have been shaded with a light blue color.
    (d)
    Assuming that the average values of θ ¯ ¯ , q ¯ ¯ and α ¯ ¯ were known (refer to Table 4 for their values), the functions θ ( t ) , q ( t ) , and α x 3 ( t ) were approximated as shown in Equations (98) and (99) from Remark 8. The values for ϕ ¯ ¯ w and w ¯ ¯ were computed with the Equations (101) and (100), see Table 5, and Equations (53) and (102)–(104) were used to compute θ ^ e ( t ) and z ^ e ( t ) . Then, with the adapted versions of Equations (92) and (96) as stated in Remark 10 (i.e., substituting the subscript E with e), the estimation errors β ^ e ( t ) and x ^ i , e ( t ) for i = 1 ,   2 ,   3 , and the respective approximated estimation bounds and areas were computed. See Figure 3 and Figure 4, where the areas I e β ^ and I e x ^ i have been shaded with a dark blue color.
  • Parameter estimation with one output (new deaths): assuming that the output y 2 ( t ) was given, with Euler’s method, its time derivative was calculated. Thus, from Equation (105), the state x ^ 2 ( t ) was computed. Then, to obtain x ^ 1 ( t ) and β ^ ( t ) , the methodology explained in step 2 was used. See Section 6.3 to see the obtained results.

6.1. Two Outputs (New Hospitalizations and New Deaths)

Constant β
Figure 1. Solutions of the simulated system (red lines) and their estimation (blue lines) for a constant transmission rate, where the top plots in subfigures (a,b) stand for the susceptible normalized subpopulation and the transmission rate, respectively, considering that the outputs new hospitalizations and new deaths are available. Bottom plots display the error between simulated data and their estimates.
Figure 1. Solutions of the simulated system (red lines) and their estimation (blue lines) for a constant transmission rate, where the top plots in subfigures (a,b) stand for the susceptible normalized subpopulation and the transmission rate, respectively, considering that the outputs new hospitalizations and new deaths are available. Bottom plots display the error between simulated data and their estimates.
Applsci 15 01940 g001
Time-Varying β
Figure 2. Solutions of the simulated system (red lines) and their estimation (blue lines) for a time-varying transmission rate, where the top plots in subfigures (a,b), respectively, stand for the susceptible normalized subpopulation and the transmission rate, respectively, considering that the outputs new hospitalizations and new deaths are available. The bottom subfigures display the error between simulated data and their estimates.
Figure 2. Solutions of the simulated system (red lines) and their estimation (blue lines) for a time-varying transmission rate, where the top plots in subfigures (a,b), respectively, stand for the susceptible normalized subpopulation and the transmission rate, respectively, considering that the outputs new hospitalizations and new deaths are available. The bottom subfigures display the error between simulated data and their estimates.
Applsci 15 01940 g002

6.2. One Output (New Hospitalizations)

Constant β
Figure 3. Solutions of the simulated system (red lines) and their estimation (blue lines), the approximated estimation areas (shaded dark blue areas), and the maximum estimation areas (shaded light areas) for a constant transmission rate, where the top plots in subfigures (ac) stand for the susceptible, infected, and hospitalized normalized subpopulations, respectively, and the top plot in subfigure (d) stands for the transmission rate, considering that only the output new hospitalizations is available.
Figure 3. Solutions of the simulated system (red lines) and their estimation (blue lines), the approximated estimation areas (shaded dark blue areas), and the maximum estimation areas (shaded light areas) for a constant transmission rate, where the top plots in subfigures (ac) stand for the susceptible, infected, and hospitalized normalized subpopulations, respectively, and the top plot in subfigure (d) stands for the transmission rate, considering that only the output new hospitalizations is available.
Applsci 15 01940 g003
Time-Varying β
Figure 4. Solutions of the simulated system (red lines) and their estimation (blue lines), the approximated estimation bound areas (shaded dark blue areas), and the maximum estimation bound areas (shaded light areas) for a time-varying transmission rate, where the top plots in subfigures (ac) stand for the susceptible, infected, and hospitalized normalized subpopulations, respectively, and the plot in subfigure (d) stands for the transmission rate, considering that only the output new hospitalizations is available.
Figure 4. Solutions of the simulated system (red lines) and their estimation (blue lines), the approximated estimation bound areas (shaded dark blue areas), and the maximum estimation bound areas (shaded light areas) for a time-varying transmission rate, where the top plots in subfigures (ac) stand for the susceptible, infected, and hospitalized normalized subpopulations, respectively, and the plot in subfigure (d) stands for the transmission rate, considering that only the output new hospitalizations is available.
Applsci 15 01940 g004

6.3. One Output (New Deaths)

Regarding the first and third methods, where new admissions in hospitals and new deaths, or only new deaths are assumed to be available, respectively, the estimations for x 1 ( t ) and β ( t ) depicted in Figure 1, Figure 2, Figure 5 and Figure 6 show good results (i.e., after 500 days approximately, the error between the real values and their estimations is quite small) either for constant or time-varying parameter values. However, the estimation response cannot be modified since the observer (16) convergence is fixed by the term λ + ρ + y 2 ( t ) .
Constant β
Figure 5. Solutions of the simulated system (red lines) and their estimation (blue lines), for a constant transmission rate, where the top plots in subfigures (a,b) stand for the susceptible and infected normalized subpopulations, respectively, and the top plot in subfigure (c) stand for the transmission rate, considering that only the output new deaths is available.
Figure 5. Solutions of the simulated system (red lines) and their estimation (blue lines), for a constant transmission rate, where the top plots in subfigures (a,b) stand for the susceptible and infected normalized subpopulations, respectively, and the top plot in subfigure (c) stand for the transmission rate, considering that only the output new deaths is available.
Applsci 15 01940 g005
Time-Varying β
Figure 6. Solutions of the simulated system (red lines) and their estimation (blue lines), where the top plots in subfigures (a,b) stand for the susceptible and infected normalized subpopulations, respectively, and the top plot in subfigure (c) stands for the transmission rate, considering that only the output new deaths is available.
Figure 6. Solutions of the simulated system (red lines) and their estimation (blue lines), where the top plots in subfigures (a,b) stand for the susceptible and infected normalized subpopulations, respectively, and the top plot in subfigure (c) stands for the transmission rate, considering that only the output new deaths is available.
Applsci 15 01940 g006
With the estimations β ^ ( t ) and x ^ i ( t ) , and their respective maximum estimation error, the maximum estimation bounds have been calculated. The real values fall within the range specified by the maximum upper and lower estimation bounds, providing reliable worst-case and best-case scenarios, which are essential in safety and prevention applications (e.g., a controller designed to eradicate a disease considering that there are not any resource limitations). Although x 3 I E x ^ 3 in both simulations, the maximum estimation bounds x ^ 3 , E ± are not informative since x ^ 3 , E + ( t ) = 1 and x ^ 3 , E ( t ) = 0 ; see Figure 3 and Figure 4.
On the other hand, the approximated estimation errors give tighter bounds, and the values of β ( t ) and x i ( t ) also lie within the region I e β ^ ( t ) and I e x ^ i ( t ) , respectively, for a wide range of t. Even if the time-varying I e β ( t ) and I e x ^ i ( t ) for i = 1 ,   2 ,   3 provide an approximated region where the real value will lie (i.e., the real values might go outside these regions for some t), it is affordable to consider I e β ^ ( t ) and I e x ^ i ( t ) instead of I E β ^ ( t ) and I e x ^ i ( t ) in cases where it is not necessary to consider the worst/best scenario (e.g., if the controller’s purpose is to minimize hospitalizations while saving resources). Overall, β ^ ( t ) and x ^ 1 ( t ) with their respective maximum and approximated estimation bounds give valuable information. In contrast, due to the significant difference between x ^ 3 ( t ) and x 3 ( t ) , in addition to the big values of the maximum and approximated estimation bounds, this method is not appropriate for x 3 estimation.

7. Results

This work presents an SIHR epidemic model, whose normalized form is characterized by a set of differential equations with a state vector x ( t ) = [ x 1 ( t ) x 2 ( t ) x 3 ( t ) ] T , and based on the most commonly reported data such as the new hospital admissions per day ( y 1 ( t ) ) or the new deaths per day ( y 2 ( t ) ), different state and time-varying transmission rate estimation methods have been developed, so any of these will suit users’ needs.
In the first method, both datasets are assumed to be available, and an exponential observer for the state x 1 ( t ) and the transmission rate β ( t ) estimation is proposed. In the second method, only y 1 ( t ) is considered as the system’s output, and the nonlinear dynamical system is transformed into the observer canonical form with the change of variable z = T ( x ( t ) , β ( t ) ) , which is a diffeomorphism obtained from an output injection and an output diffeomorphism. Once the system is transformed to this new form, an adaptive observer is proposed, so the estimations z ^ ( t ) and β ^ ( t ) are obtained. Finally, the diffeomorphism T 1 ( z ^ ( t ) , β ^ ( t ) ) is applied to obtain x ^ ( t ) . When the change of variables T ( x ( t ) , β ( t ) ) was being built up, two assumptions were made: (i) the terms α x i x 3 are negligible for i = 1 ,   2 ,   3 ; (ii)  β ( t ) varies slowly with respect to time ( β ˙ ( t ) 0 ). Due to these approximations, the model in its canonical form contains errors, causing the computed estimations to deviate from real values. Without additional information, these deviations remain uncertain. However, assuming that the bounds of those errors are known, equations to calculate the maximum estimation upper ( β ^ E + ( t ) ) and lower ( β ^ E ( t ) ) bounds of β ( t ) , and the maximum estimations of the upper ( x ^ i , E + ( t ) ) and lower ( x ^ i , E ( t ) ) bounds of x i ( t ) for i = 1 ,   2 ,   3 are obtained, so β ( t ) [ β ^ E ( t ) , β ^ E + ( t ) ] and x i ( t ) [ x ^ i , E ( t ) , x ^ i , E + ( t ) ] for i = 1 ,   2 ,   3 . Given more information about the uncertainties, approximated estimations of the upper ( β ^ e + ( t ) ) and lower ( β ^ e ( t ) ) bounds of β ( t ) , and approximated estimations of the upper ( x ^ i , e + ( t ) ) and lower ( x ^ i , e ( t ) ) bounds of x i ( t ) for i = 1 , 2 , 3 can be obtained; these bounds are closer to the real values than the maximum estimation bounds, but it is not for certain that the real values will lie within the region delimited by those bounds all the time. In the third method, where only the output y 2 ( t ) is considered, an explicit expression to compute y 1 ( t ) is given, which enables the usage of the previously constructed methods.
Although all the proposed methods are validated by a theoretical background, some simulations have been carried out to illustrate the results. With the parameters corresponding to the COVID-19 epidemic, predefined initial state values, a vaccination function, and a transmission rate function, the SIHR epidemic model has been simulated. For each method, the corresponding output has been provided (e.g., to validate the second method, the output y 1 ( t ) has been gathered from simulated data), and the estimations have been computed. Note that, in the third method, after computing y 1 ( t ) from the output y 2 ( t ) , for simplicity reasons, we turn to the first method instead of the second.
The first and the third methods have the advantage of giving good estimations, despite a fixed convergence. With the second method, in addition to obtaining β ^ ( t ) and x ^ i ( t ) for i = 1 , 2 , 3 , the maximum estimation bounds were also computed along with the error bounds. Then, the conditions β ( t ) [ β ^ E ( t ) , β ^ E + ( t ) ] and x i ( t ) [ x ^ i , E ( t ) , x ^ i , E + ( t ) ] for i = 1 ,   2 were evaluated and found to be true. Given the average values of the errors, the approximated estimation error bounds were calculated, and they were shown to be more informative than the maximum estimation bounds since their values were closer to the real ones and the conditions β ( t ) [ β ^ e ( t ) , β ^ e + ( t ) ] and x i ( t ) [ x ^ i , e ( t ) , x ^ i , e + ( t ) ] for i = 1 ,   2 were generally satisfied. However, considering the big difference between x 3 ( t ) and the calculated estimation bounds, it follows that this method is not appropriate for x 3 ( t ) .

8. Conclusions

When data on new hospital admissions and new deaths, or only new deaths, are available, the proposed observers and numerical differentiation enable an accurate estimation of both state variables and the transmission rate. However, since numerical differentiation is highly sensitive to noise, smoothing the data is recommended to prevent error amplification. Additionally, these observers require a fixed convergence time to produce reliable estimates, which can be a limitation for short time-series datasets.
When only new hospital admissions data are available, the proposed method does not yield exact estimates but instead provides bounds within which the true values are expected to lie. Determining these bounds requires prior knowledge of certain parameters, such as upper limits for the transmission rate and the number of deaths. While this approach produces reasonably accurate bounds for the susceptible subpopulation and transmission rate, it struggles to define a suitable bound for hospitalized cases. Furthermore, as this method relies on an observer, its estimates are restrained to a convergence time. Compared to previous methods, its numerical implementation is also more complex, requiring the solution of dynamical equations, application of error propagation formulas, and other computational steps.
For large datasets, such as those related to the COVID-19 epidemic, the proposed observer’s convergence is ensured. Consequently, these methods enable the estimation of the transmission rate and provide valuable insights into its dynamics, aiding the development of more effective control policies. For instance, if the estimated transmission rate consistently increases during the winter seasons, strengthening vaccination efforts in the preceding months could help to prevent hospitalizations and deaths during winter.
While controlling disease spread is the primary goal, it cannot be achieved without a validated model. Validating the model and the proposed estimation methods is not as straightforward as simply collecting real data and estimating the time-varying transmission rate and state variables. Commonly, a model is said to be validated if the model can closely reproduce real data. Therefore, a challenge arises: if the susceptible subpopulation and transmission rate are computed using the proposed model and methods, how can these outputs be compared to the real values when no direct data exist for either the susceptible subpopulation or the transmission rate? To address this, future work will focus on transmission rate characterization by establishing a mathematical relationship between the transmission rate and correlated and measurable variables, such as mobility and seasonal changes. This relationship will enable the estimation of the transmission rate from available data, which will then be used to simulate the SIHR epidemic model. Finally, validation will be performed by comparing the model’s predictions (e.g., new hospital admissions and deaths) with real data to assess its accuracy.
A successfully validated model will not only enable accurate disease spread predictions but also provide a framework for designing optimal control strategies.

Author Contributions

Conceptualization, C.L., M.D.l.S. and S.A.-Q.; methodology, C.L. and S.A.-Q.; software, C.L.; validation, S.A.-Q.; formal analysis, C.L., M.D.l.S. and S.A.-Q.; investigation, C.L., M.D.l.S. and S.A.-Q.; resources, C.L.; data curation, C.L.; writing—original draft preparation, C.L.; writing—review and editing, S.A.-Q.; visualization, C.L.; supervision, M.D.l.S.; project administration, M.D.l.S.; funding acquisition, M.D.l.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received support from the Basque Government through grant IT1555-22.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Acknowledgments

The authors are grateful to the Basque Government for Grant IT1555-22 and to MICIU/AEI/10.13039/501100011033 and FEDER/UE for partially funding their research work through Grants PID202-123543OB-C21 and PID2021-123543OB-C22.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Shen, H.; Fu, M.; Pan, H.; Yu, Z.; Chen, Y. The Impact of the COVID-19 Pandemic on Firm Performance. Emerg. Mark. Financ. Trade 2020, 56, 2213–2230. [Google Scholar] [CrossRef]
  2. Deb, P.; Furceri, D.; Ostry, J.D.; Tawk, N. The Economic Effects of COVID-19 Containment Measures. Open Econ. Rev. 2022, 33, 1–32. [Google Scholar] [CrossRef]
  3. Marroquín, B.; Vine, V.; Morgan, R. Mental health during the COVID-19 pandemic: Effects of stay-at-home policies, social distancing behavior, and social resources. Psychiatry Res. 2020, 293, 113419. [Google Scholar] [CrossRef]
  4. Khan, K.S.; Mamun, M.A.; Griffiths, M.D.; Ullah, I. The Mental Health Impact of the COVID-19 Pandemic Across Different Cohorts. Int. J. Ment. Health Addict. 2022, 20, 380–386. [Google Scholar] [CrossRef] [PubMed]
  5. Tull, M.T.; Edmonds, K.A.; Scamaldo, K.M.; Richmond, J.R.; Rose, J.P.; Gratz, K.L. Psychological Outcomes Associated with Stay-at-Home Orders and the Perceived Impact of COVID-19 on Daily Life. Psychiatry Res. 2020, 289, 113098. [Google Scholar] [CrossRef] [PubMed]
  6. Kermack, W.O.; McKendrick, A.G. A Contribution to the Mathematical Theory of Epidemics. Proc. R. Soc. Lond. Ser. A Contain. Pap. Math. Phys. Character 1927, 115, 700–721. [Google Scholar]
  7. Inaba, H. Threshold and stability results for an age-structured epidemic model. J. Math. Biol. 1990, 28, 411–434. [Google Scholar] [CrossRef]
  8. Inaba, H. Age-Structured SIR Epidemic Model. In Age-Structured Population Dynamics in Demography and Epidemiology; Springer: Singapore, 2017; pp. 287–331. [Google Scholar] [CrossRef]
  9. Ruoyan, S. Global stability of the endemic equilibrium of multigroup SIR models with nonlinear incidence. Comput. Math. Appl. 2010, 60, 2286–2291. [Google Scholar] [CrossRef]
  10. Sattenspiel, L.; Dietz, K. A structured epidemic model incorporating geographic mobility among regions. Math. Biosci. 1995, 128, 71–91. [Google Scholar] [CrossRef] [PubMed]
  11. Pratap, U.; Canudas-de Wit, C.; Garin, F. Optimizing Urban Mobility for Saving Lives and Economy During an Epidemic Outbreak, With Application to Grenoble. IEEE Trans. Control Syst. Technol. 2025, 33, 288–303. [Google Scholar] [CrossRef]
  12. Balcan, D.; Colizza, V.; Gonçalves, B.; Hu, H.; Ramasco, J.J.; Vespignani, A. Multiscale mobility networks and the spatial spreading of infectious diseases. Proc. Natl. Acad. Sci. USA 2009, 106, 21484–21489. [Google Scholar] [CrossRef]
  13. Pollicott, M.; Wang, H.; Weiss, H. Extracting the time-dependent transmission rate from infection data via solution of an inverse ODE problem. J. Biol. Dyn. 2012, 6, 509–523. [Google Scholar] [CrossRef] [PubMed]
  14. Hadeler, K.P. Parameter identification in epidemic models. Math. Biosci. 2011, 229, 185–189. [Google Scholar] [CrossRef] [PubMed]
  15. Berhe, H.W.; Makinde, O.D.; Theuri, D.M. Parameter Estimation and Sensitivity Analysis of Dysentery Diarrhea Epidemic Model. J. Appl. Math. 2019, 2019, 8465747. [Google Scholar] [CrossRef]
  16. Samsuzzoha, M.; Singh, M.; Lucy, D. Parameter estimation of influenza epidemic model. Appl. Math. Comput. 2013, 220, 616–629. [Google Scholar] [CrossRef]
  17. Li, Y. Optimal Control for an Epidemic Model of COVID-19 with Time-Varying Parameters. Mathematics 2024, 12, 1484. [Google Scholar] [CrossRef]
  18. Marinoschi, G. Parameter Estimation of an Epidemic Model with State Constraints. Appl. Math. Optim. 2021, 84, 1903–1923. [Google Scholar] [CrossRef] [PubMed]
  19. Blima, P.A.; Efimo, D.; Ushirobir, R. A class of nonlinear adaptive observers for SIR epidemic model. In Proceedings of the 2018 European Control Conference (ECC), Limassol, Cyprus, 12–15 June 2018; pp. 1969–1974. [Google Scholar] [CrossRef]
  20. Bliman, P.A.; D’Avila Barros, B. Interval Observers for SIR Epidemic Models Subject to Uncertain Seasonality. In Positive Systems: Theory and Applications (POSTA 2016) Rome, Italy, 14–16 September 2016; Cacace, F., Farina, L., Setola, R., Germani, A., Eds.; Springer International Publishing: Cham, Switzerland, 2017; pp. 31–39. [Google Scholar] [CrossRef]
  21. Bowong, S.; Kurths, J. Parameter estimation based synchronization for an epidemic model with application to tuberculosis in Cameroon. Phys. Lett. A 2010, 374, 4496–4505. [Google Scholar] [CrossRef]
  22. Tami, R.; Boutat, D.; Zheng, G.; Kratz, F. Parameters and states estimation for Dengue epidemic model. In Proceedings of the 2014 European Control Conference (ECC), Strasbourg, France, 24–27 June 2014; pp. 528–533. [Google Scholar] [CrossRef]
  23. Tami, R.; Boutat, D.; Zheng, G. Nonlinear observer normal form with output injection and extended dynamic. IFAC Proc. Vol. 2013, 46, 670–675. [Google Scholar] [CrossRef]
  24. Xu, H.; Wang, J. Partial Observer Canonical Form Design Method for Single-output Affine Nonlinear System with Simple Validation Conditions. Int. J. Control Autom. Syst. 2022, 20, 2211–2221. [Google Scholar] [CrossRef]
  25. Boutat, D.; Zheng, G. Observer Normal Form with Output Injection. In Observer Design for Nonlinear Dynamical Systems: Differential Geometric Methods; Springer International Publishing: Cham, Switzerland, 2021; pp. 55–68. [Google Scholar] [CrossRef]
  26. Boutat, D.; Zheng, G. Observer Normal Form with Output Injection and Output Diffeomorphism. In Observer Design for Nonlinear Dynamical Systems: Differential Geometric Methods; Springer International Publishing: Cham, Switzerland, 2021; pp. 69–89. [Google Scholar] [CrossRef]
  27. Besançon, G.; De León-Morales, J.; Huerta-Guevara, O. On adaptive observers for state affine systems. Int. J. Control 2006, 79, 581–591. [Google Scholar] [CrossRef]
  28. Zhang, Q. Adaptive observer for multiple-input-multiple-output (MIMO) linear time-varying systems. IEEE Trans. Autom. Control 2002, 47, 525–529. [Google Scholar] [CrossRef]
  29. UK Health Security Agency. COVID-19 Archive Data Download. Available online: https://ukhsa-dashboard.data.gov.uk/covid-19-archive-data-download (accessed on 9 October 2024).
  30. UK Health Security Agency. UKHSA Data Dashboard. Available online: https://ukhsa-dashboard.data.gov.uk/ (accessed on 9 October 2024).
  31. European Data. COVID-19 Karakteristieken per Casus Landelijk. Available online: https://data.europa.eu/data/datasets/11634-covid-19-karakteristieken-per-casus-landelijk?locale=en (accessed on 9 October 2024).
  32. European Data. COVID-19 Hospital and Intensive Care Admissions. Available online: https://data.europa.eu/data/datasets/15921-covid-19-ziekenhuis-en-intensive-care-opnames-ic-in-nederland-per-leeftijdsgroep-per-zieken?locale=en (accessed on 9 October 2024).
  33. Our World in Data. Coronavirus Pandemic (COVID-19). Available online: https://ourworldindata.org/coronavirus (accessed on 9 October 2024).
  34. Plateforme Ouverte des Données Publiques Françaises. Synthèse des Indicateurs de Suivi de l’épidémie COVID-19. Available online: https://www.data.gouv.fr/fr/datasets/synthese-des-indicateurs-de-suivi-de-lepidemie-covid-19/#/information (accessed on 9 October 2024).
  35. Epistat—Epidemiology of Infectious Diseases Statistics. COVID-19 Datasets. Available online: https://epistat.sciensano.be/covid/ (accessed on 9 October 2024).
  36. COVID-19—ISCIII CNE—RENAVE. Documentación y Datos. Available online: https://cnecovid.isciii.es/covid19/#documentaci%C3%B3n-y-datos (accessed on 9 October 2024).
  37. World in Data. COVID-19 Vaccinations. Available online: https://ourworldindata.org/covid-vaccinations (accessed on 9 October 2024).
  38. Sontag, E.D. Observers and Dynamic Feedback. In Mathematical Control Theory: Deterministic Finite Dimensional Systems; Springer: New York, NY, USA, 1998; pp. 315–345. [Google Scholar] [CrossRef]
  39. Van Loan, C. The Sensitivity of the Matrix Exponential. SIAM J. Numer. Anal. 1977, 14, 971–981. [Google Scholar] [CrossRef]
  40. Macrotrends. United Kingdom Birth Rate 1950–2023. 2024. Available online: https://www.macrotrends.net/global-metrics/countries/GBR/united-kingdom/birth-rate (accessed on 15 July 2024).
  41. Macrotrends. United Kingdom Death Rate 1950–2023. 2024. Available online: https://www.macrotrends.net/global-metrics/countries/GBR/united-kingdom/death-rate (accessed on 15 July 2024).
  42. Habtamu Tamiru, D.; Gedef Azene, A.; Wudie Tsegaye, G.; Mulatu Mihretie, K.; Hunegnaw Asmare, S.; Arega Gete, W.; Animen Bante, S. Time to Recovery from COVID-19 and Its Predictors in Patients Hospitalized at Tibebe Ghion Specialized Hospital Care and Treatment Center, A Retrospective Follow-Up Study, North West Ethiopia. Glob. Health Epidemiol. Genom. 2023, 2023, 5586353. [Google Scholar] [CrossRef]
  43. Faes, C.; Abrams, S.; Van Beckhoven, D.; Meyfroidt, G.; Vlieghe, E.; Hens, N.; Belgian Collaborative Group on COVID-19 Hospital Surveillance. Time between Symptom Onset, Hospitalisation and Recovery or Death: Statistical Analysis of Belgian COVID-19 Patients. Int. J. Environ. Res. Public Health 2020, 17, 7560. [Google Scholar] [CrossRef] [PubMed]
  44. Zali, A.; Khodadoost, M.; Gholamzadeh, S.; Janbazi, S.; Piri, H.; Taraghikhah, N.; Hannani, K.; Looha, M.A.; Mohammadi, G. Mortality among hospitalized COVID-19 patients during surges of SARS-CoV-2 alpha (B.1.1.7) and delta (B.1.617.2) variants. Sci. Rep. 2022, 12, 18918. [Google Scholar] [CrossRef] [PubMed]
  45. Baraniuk, C. How long does COVID-19 immunity last? BMJ 2021, 373, n1605. [Google Scholar] [CrossRef]
Table 2. Values of the model parameters.
Table 2. Values of the model parameters.
ParameterDefinitionValueSources
NTotal population56.23 × 10 6 -
λ New births per day 3.12 × 10 5  [40]
μ Death rate 2.57 × 10 5  [41]
γ 1 Recovery rate from I 0.11  [42]
γ 2 Recovery rate from H 0.175  [43]
σ Hospitalization rate 0.25  [43]
α Death rate 0.03  [44]
ρ Immunity rate 0.0056  [45]
Table 3. Variables initial values. Note that z = x 1 + x 2 .
Table 3. Variables initial values. Note that z = x 1 + x 2 .
Subpopulation & Time-Varying ParameterInitial ValueEstimated Initial Value
x 1 0.99940 0.8994
x 2 6.0606 × 10 4 6.0606 × 10 4
x 3 0 5 × 10 7
z1 0.900
β 0.4086
Table 4. Upper bounds and approximated values of unknown variables in the model (61).
Table 4. Upper bounds and approximated values of unknown variables in the model (61).
ParametersValues
Constant β Time-Varying β
θ ¯ 11
q ¯ 0 0.0014
α ¯ 9.477 × 10 5 1.8752 × 10 5
θ ¯ ¯ 11
q ¯ ¯ 0 1.3049 × 10 5
α ¯ ¯ 3.2048 × 10 5 1.6760 × 10 6
Table 5. Upper bounds and approximated values of variables related to the errors in the model (61).
Table 5. Upper bounds and approximated values of variables related to the errors in the model (61).
ParametersValues
Constant β Time-Varying β
ϕ ¯ w 9.6655 × 10 5 1.9123 × 10 5
w ¯ 9.6867 × 10 5 1.9165 × 10 5
ϕ ¯ ¯ w 3.268 × 10 5 1.7091 × 10 5
w ¯ ¯ 3.2754 × 10 5 1.7129 × 10 5
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Legarreta, C.; De la Sen, M.; Alonso-Quesada, S. Theoretical State and Time-Varying Parameter Estimation for a Susceptible, Infected, Hospitalized, and Immunized Epidemic Model Based on New Hospital Admission and Death Data. Appl. Sci. 2025, 15, 1940. https://doi.org/10.3390/app15041940

AMA Style

Legarreta C, De la Sen M, Alonso-Quesada S. Theoretical State and Time-Varying Parameter Estimation for a Susceptible, Infected, Hospitalized, and Immunized Epidemic Model Based on New Hospital Admission and Death Data. Applied Sciences. 2025; 15(4):1940. https://doi.org/10.3390/app15041940

Chicago/Turabian Style

Legarreta, Carmen, Manuel De la Sen, and Santiago Alonso-Quesada. 2025. "Theoretical State and Time-Varying Parameter Estimation for a Susceptible, Infected, Hospitalized, and Immunized Epidemic Model Based on New Hospital Admission and Death Data" Applied Sciences 15, no. 4: 1940. https://doi.org/10.3390/app15041940

APA Style

Legarreta, C., De la Sen, M., & Alonso-Quesada, S. (2025). Theoretical State and Time-Varying Parameter Estimation for a Susceptible, Infected, Hospitalized, and Immunized Epidemic Model Based on New Hospital Admission and Death Data. Applied Sciences, 15(4), 1940. https://doi.org/10.3390/app15041940

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop