1 Introduction

The Covid-19 pandemic has forced the world towards extraordinary situations, where public health got affected due to the SARS-COV-2 virus, followed by several other issues like disruption, inflation, and isolation. These issues have significantly impacted the global supply chain network causing enormous economic losses. The perishable food industry is among those sectors that faced financial loss during the pandemic. However, along with financial losses, the pandemic has also reflected the vulnerability of the present global supply chain network that requires enormous and impactful mitigation. As food is considered the basic need for human beings, it was believed that the pandemic would not affect the demand for these items. But unfortunately, it has caused a significant change in its demand pattern due to the closure of hotels, restaurants, and caterings services and a surge in its demand in supermarkets (Amjath-Babu et al. 2020; Hobbs 2020). Such a situation was first reported in Italy from 23rd February to 29th March 2020. During this period, the demand for pasta, rice, canned, packed, and frozen foods has increased.

In contrast, the demand for fresh food such as fresh meats, vegetables, and seafood has decreased significantly (Bracale and Vaccaro 2020). This change in demand pattern is due to the strict lockdown imposed by the government resulting in the closure of hotels, restaurants, and public ceremonies that causes a decrease in demand for fresh foods (Amjath-Babu et al. 2020) and hence a massive loss for the industry (Mor et al. 2020). The decrease in demand is primarily caused due to the shorter self-life as the quality of these items starts diminishing with time. Within a brief period, they become obsolete and wasted, creating an economic loss for the organization (Hertog et al. 2014). Such products require proper refrigeration facilities such as cold storage and warehousing to increase their self-life and reduce wastage (Rana et al. 2021b). From here, it's understood that the preservation efforts for these items put immense pressure upon warehousing activities that involve intensive usage of man, power, and machine. The situation becomes even more challenging when the warehouses face lockdown scenarios, especially those who had procured the items before lockdown (Bochtis et al. 2020). Because the lockdown periods are indefinite, the procured perishable items are stored in the warehouse for a prolonged duration (Rana et al. 2021b). Due to this, the holding cost of the warehouse increases, causing an increase in the selling price of the items and reducing total profit. So to increase the yield, it becomes essential to optimize the factors, such as order quantity, cycle time, selling price, carbon cap and trade tax, and total costs.

The Covid-19 pandemic affected the performance of business and supply chains. However, the entities present in the supply chain network, such as cold storage facilities or warehouses, were utterly clueless about specific issues such as the amount of inventory to be maintained, freshness keeping effort to be applied, impact of carbon taxation on cost, and the magnitude of profit amid the demand disruption due to Covid-19 pandemic. The current literature has very little mathematical work on perishable inventory models amid the Covid-19 pandemic considering sustainability. Therefore we propose two mathematical models that will replicate the issues and challenges faced by the warehouses during demand-side shocks caused due to Covid -19 pandemic and provide a mathematical solution for the problem. This study will help mitigate the warehouse's problems with numerical examples and figures and guide the warehouse managers in similar situations in the future. The main contribution of this paper is:

  • The existing literature deals with the theoretical aspect of the pandemic, but this paper deals with the mathematical part.

  • The mathematical model helps find the exact amount of losses faced by the warehousing companies that are hard to get through the theoretical models.

  • This mathematical model provides a resilient solution for the problems stated above with exact numbers, graphs, and figures that is hard to get from the theoretical models.

  • This mathematical model deals with the effect of demand-side shocks upon the perishable inventory. The inventory in stock stimulates the selling price, profit, freshness keeping effort, carbon cap and trade policy, and green technology investment. These factors or parameters have never been considered together in previous works.

We present an intuitive causal diagram (Fig. 1) indicating the cause-effect relationships of the various parameters proposed in the inventory models. Here (+ve) and (-ve) symbols define the direct and inverse proportionality of the causal and effect parameters. This representation consists of four different loops showing the impact of various factors on the firm’s profit. These loops are; energy efficiency loop (1–2-3–4-5), quality dependent demand loop (1–2-3–7-9–5), deterioration control loop (1–2-3–7-8–9-5) and the freshness-effort dependent demand loop (6–7-9–10). The energy efficiency loop shows that investment in green technology led to decreased energy consumption and carbon emission, increasing the firm’s profit. The quality-dependent demand loop describes the impact of inventory quality on-demand and eventually on profit. Thus the profit can only be increased using an efficient energy system that can maintain the item quality. The deterioration control loop illustrates the positive effect of controlling the deterioration rate of the items using energy-efficient technology. The freshness-effort-dependent demand loop defines the positive increase in the demand rate, while an increased level of freshness effort is given to the inventory system.

Fig. 1
figure 1

The intuitive causal loop diagram representing the cause-effect relationships of model parameters

We also acknowledge the remarkable work of Rana et al. (2021a) predicting the impact of demand disruption during the Covid-19 lockdown on total system cost while considering a finite decline and surge in demand as the lockdown is forced relaxed, respectively. However, we feel that the demand as a function of quality and selling price makes the scenario more practical. Additionally, the consideration of using energy-efficient technology to maintain the freshness of the inventory is the need of the hours to attain a certain level of sustainability. Therefore we assume extending the work of Rana et al. (2021a) considering the impact of quality, selling price, and, more importantly, the carbon emission reduction to increase the firm’s average profit even in a problematic scenario like the Covid-19 pandemic.

This paper is as organized as follows. Section 2 recalls the relevant literature and research gaps in the body of knowledge. Key assumptions and notations are listed in Sect. 3. Section 4 reflects the mathematical model development. Finally, the sensitivity analysis is given in Sect. 5, and Sect. 6 contains discussion followed by the conclusion.

2 Literature review

The Covid-19 pandemic has severely affected the world due to domestic and cross-border restrictions upon the movement of people and disruption in the global supply chain network (Guan et al. 2020). The disruption caused due to pandemic has posed several issues and challenges as follows;

  1. i.

    The household demand for essential goods such as foods and medicine has increased, whereas the demand for non-essential goods has decreased (Chowdhury et al. 2021). The sudden spike in demand is due to changes in the purchasing habit of the customers (Hobbs 2020), such as panic buying behavior with the fear of unavailability of these items in post-pandemic situations (Yuen et al. 2020). This increase in demand has resulted in partial shortages of these products in the market (Deaton and Deaton 2020).

  2. ii.

    The drop in demand for non-essential items results from a fall in people's purchasing power as most of them have lost their jobs during the pandemic. Therefore they prefer to spend their saved money on essential items rather than spending it on non-essential ones (Chiaramonti and Maniatis 2020).

  3. iii.

    Due to cross-border shutdowns and travel restrictions, the earnings of restaurants and hotels have decreased as they were dependent on tourism industries for their revenue generations. Moreover, the shutting down of the tourism industry during the pandemic has caused several terminations of their employees and salary cut downs. Therefore, it has resulted in the lowering of the income of people (Majumdar et al. 2020).

  4. iv.

    The unexpected variations in demand and disturbance in the supply chain have produced several problems in decision making and forecasting (Gunessee and Subramanian 2020) for businesses with long-term objectives and goals.

  5. v.

    The transportation and logistics management got affected due to disruption in air, land, and water transportation. As a result, international trade faces significant losses (Govindan et al. 2020).

  6. vi.

    The Covid-19 norms such as social distancing and isolation have declined the interactions among the various supply partners creating a state of ambiguity and loss in their collaborative efforts (Baveja et al. 2020).

  7. vii.

    The pandemic has also caused inevitable production disruptions due to labor, material, and logistics (Leite et al. 2021). In addition, it results in backlogging (Richards and Rickard 2020) of goods. Furthermore, some inflation reports have also been recorded in some places. (Armantier et al. 2021).

  8. viii.

    The lockdown situation caused due to pandemic in the early 2020s caused price uncertainty wheat and maize, creating food insecurity (“COVID-19 Pandemic–Impact on Food and Agriculture,” (2019); Id and Khatun 2021).

  9. ix.

    The lockdown scenario has resulted in the closing of hotels, restaurants, and public ceremonies (Brinca et al. 2020; Hobbs 2020; Končar et al. 2021), causing a fall in demand for foods items that have affected the income of the farmers, who were the primary producers. Further, the travel restriction during the pandemic has prevented the farmers from getting into the open market, driving them towards lower crop productivity. Additionally, a sudden decline in demand has aroused significant challenges for the industries dealing with food products. At the same time, this situation put immense pressure upon the warehouses, especially those who have procured the items before lockdown. They must keep their products fresh for the indefinite lockdown periods (Bochtis et al. 2020). The entire production chain of perishable products, from crop yield to fertilizers, has been affected during the initial pandemic. The travel restriction prohibits the agricultural workforce from traveling during the harvesting season, resulting in lower crop productivity (Fortuna and Foote 2020) resulting in a sharp decline in crop productivity and the sale of fertilizers and pesticides, causing an enormous loss for this industry (Jámbor et al. 2020).

Lessons from the epidemic/pandemic outbreaks

Epidemics and pandemics have existed among humans for centuries. Even though the world has witnessed several infections from 2000–10, including SARS (severe acute respiratory syndrome), H1N1, and the Covid-19, such events posed an extensive public health issue that directly or indirectly affected the organizations’ efficiency and responsiveness, causing severe monetary losses (Guan et al. 2020). Due to the Covid-19 pandemic, international trade has decreased from 13%-32%, as per the report given by World Trade Organization in the mid-2020s (WTO 2020). Hence, organizations strive to achieve resiliency to tackle such shocks (Ivanov and Dolgui 2021). In this regard, several researchers have studied the pandemics and their impacts in their research. For example, Rayburn et al. (2004) have studied the effects of the SARS epidemic upon the business sector, electronic sectors, airlines sectors, and investment sector. Shan and Zhang (2004) studied the impact of SARS on the blood supply chain system in Beijing. Also, Qiu et al. (2017) studied the H1N1 epidemic's impact on public health, economy, society, and security. However, the present literature is confined only to the theoretical aspects of outbreaks. Hence, the resilient techniques available in current literature got overshaded during Covid-19 pandemic scenarios.

Limited research is focused on the mathematical models on pandemic's effect upon the perishable food supply chain that results in severe crisis during the Covid-19 pandemic (Chowdhury et al. 2021; Rana et al. 2021b). However, the Covid-19 pandemic has presented a scenario where the stock availability of perishable goods collapses (Amjath-Babu et al. 2020) with a sudden increase in its demand along with a change in purchasing habits of the customers (Brinca et al. 2020) and shortages of products and raw materials (Toffolutti et al. 2020). These scenarios resulted from governments policies on containing the spread of the virus, such as border shutdown, lockdown of markets, restriction on vehicle movements, quarantines, and containment zones (Ghosh et al. 2020), which causes multidimensional impact upon the supply chains, and affects the international trade network.

Research question 1:

How to design a resilient mathematical model for perishable items when the supply chain is facing disruption due to the COVID-19 pandemic?

Change in food consumption, demand patterns, and behaviors of consumers during and after COVID-19

Managing the perishable food supply chain is challenging because of its demand uncertainty and shorter shelf-life. The demand uncertainty coupled with the rate of deterioration results in a large-scale reduction in its commercial value and shortages in the retail chain market (Yang et al. 2017). Also, these items were wasted due to a lack of proper preservation (Zhu and Krikke 2020). In Italy, demand for these items decreases as customers know the preservation efforts required to maintain these inventory. Hence, demand for perishable items decreased during the disruption period (Bracale and Vaccaro 2020). Further, such products failed to reach their customers on time due to logistic restrictions, creating many unsatisfied customers and compelling them to think about alternative strategies such as stockpiling or hoarding (Sterman and Dogan 2015). In China, the production and distribution channels were disrupted during the outbreak, resulting in the customers accumulating the essential food items. In Canada, the stockpiling of these items was reported along with customers’ panic purchasing behavior at the supermarkets, just after the lockdown was relaxed. This was caused due to the fear of unavailability of these items in the post-pandemic period (Hobbs 2020). The pandemic has also changed the priority pyramid of purchasing foods items by the customers; previously, the priority pyramid from high to low was taste, price, nutritional value, appearance, convenience, safety, origin, fairness, tradition, naturalness (Lusk and Briggeman 2009). During the pandemic, the price has become the priority, followed by nutrition, and along with it, new priorities have also been added, like storage (Ellison et al. 2020). Several researchers have contributed their effort upon the customers' purchasing behaviour, like Richards and Rickard (2020) studied the impact of COVID-19 upon customers buying behavior and further classified into short-term impacts like hoarding, stockpiling and long term impacts like e-commerce, online ordering. Eger et al. (2021) studied the changes in demand patterns of the different age groups of customers during the Covid-19 pandemic. Limited research is available on mathematical aspect of perishable inventory that poses the following research question.

Research question 2:

How to integrate the issue of demand uncertainty caused due to behavioral change in customers in a mathematical model concerning price and profit?

Food losses and warehousing problems during the COVID-19 pandemic

The Covid-19 disruption caused massive uncertainty in demand and production, resulting in significant food losses as there was a decrease in the movement of trucks by 30% compared to the pre-lockdown period, which results in delays in transportation and refrigeration, causing food loss (Iyer 2020). Additionally, the sudden closure of the hotels, restaurants, hostels, and prohibitions in public ceremonies causes shrinkage in demand for such items (Brinca et al. 2020; Končar et al. 2021; Amjath-Babu et al. 2020). A few researchers have addressed this issue. For example; Abhishek et al. (2020) studied the effect of lockdown upon the food supply chain in India, Cappelli and Cini (2020) provided the method to overcome the shortages of food in the market by strengthening the local producers, Quayson et al. (2020) provided a digitalized solution for the problem of food losses during the pandemic, and Di Vaio et al. (2020) used artificial intelligence systems in Agri-Food system to reduce the food wastage during the pandemic. Still, the current literature fails to predict the number of food losses in warehouses as improper warehousing is also one of the critical reasons for food loss, as reported by the Ministry of Consumer Affairs India. Approximately 1550 tonnes of food grain has been wasted in FCI (food corporation India) owned warehouses since May 2020 (Vikram 2020), which lead to shortages and inflation of perishable products in the market (Pothan 2020). This issue has somewhat been controlled, owing to private players in the market, such as e-commerce and NGOs, providing an adequate warehousing facility (Iyer 2020). However, the suppliers, manufacturers, retailers, and distributors with an appropriate warehousing model under Covid-19 like disruption can predict the ordering quality, profit, and food losses in the warehouses. Rana et al. (2021b) has formulated the mathematical model for two warehouse inventory system, where perishable items face Covid-19 pandemic-like disruption. Singh et al. (2020) shows the importance of warehouses in perishable food distribution system during the Covid-19 pandemic. Still these models focus on formulating the inventory system of perishables during the Covid-19 pandemic, but it fail to address the sustainability and quality issues associated with it.

Research question 3:

How to prevent food losses during the Covid-19 pandemic and quantify its resilience in price, profit, and quantity?

Research question 4:

How the food losses be reduced using warehousing operations, as warehouses are integral parts of the supply chain?

Sustainability issues in the food supply chain during the COVID-19 pandemic

The sustainability in producing and distributing perishables items is an essential concern for an industry (Li et al. 2014; Kaipia et al. 2013). The products reaching the retail store late shorten the remaining self-life of the product and increase the issue of the saleability of these items (Mena et al. 2011). The reduction in sales for these items and their implications on energy consumption to keep these products fresh causes a substantial impact upon the environment (Yang et al. 2017) and climate change. In recent years, the supply chain network of these products faced a Covid-19 pandemic disruption, due to which the sustainability concerns have adversely been affected. As per Naidoo and Fisher (2020), one-third of seventeen sustainable goals, adopted by the united nations, to be achieved by 2030, has been delayed due to the pandemic, and among these, goal no 13: “Climate action” has been put under a “threat” category. In this regard, some researchers have contributed their effort, such as Sharma et al. (2021) formulated a mathematical model for allocating vehicles between warehouses at different locations under the Covid-19 pandemic scenario considering carbon emission from the transportation of vehicles. Gelles (2020) published the article concerning the transportation and warehousing problem of Covid-19 vaccines at the temperature of -80 °C, considering various obstacles, such as carbon emission. Nozari et al. (2022) studied the impact of uncertainty in demand of medical equipment using the Neutrosophic Fuzzy Programming method to model for multi depot vehicle routing under Covid-19 pandemic to facilitate warehouses and production units in routing vehicles to hospitals. Pani et al. (2020) evaluated the acceptance value of the Autonomous Robot Delivery (ADR) for delivering perishable items under the Covid-19 scenario. One of the objectives of ADR is to reduce carbon emission, which occurs during transportation. All the research works discussed have shown the sustainability concerns during transportation of vehicles, but none of them has highlighted this issue in inventory management amid COVID-19 like scenario; hence we derive the following research question given sustainability of the perishable inventory as:-

Research question 5:

How to bring sustainability in the warehousing activities when the supply chain faces Covid-19 pandemic disruptions?

Several mathematical, analytical, and theoretical models concerning perishable and non-perishable items have been classified in Table 1.

Table 1 Classifications of the research works discussed

After a comprehensive literature review, we found that none of the papers have considered the parameters, including selling and quality-based demand, and carbon cap and trade policy amid Covid-19 pandemics like disruption to maximize the firm’s average profit for a two warehouse storage system. Therefore a mathematical model has been formulated considering these parameters to help answer the research question discussed in RQ1 to RQ5.

3 Assumptions and notations

3.1 Assumptions

  • The demand rate D(b, Q,θ) is a function of selling price b and the quality parameter Q (Q defines the effect of quality on the item demand: Q > 0) (Jaggi et al. 2015; Yang et al. 2020) as shown in Fig. 2. Generally, the selling price of items rises when the supply side is disrupted, like in the COVID-19 pandemic situation (Akter 2020), petroleum prices, exchange rate.

    $${D}_{o}=k{b}^{-e}$$
    (1)
    $$D\left(b,Q,\theta \right)={D}_{o}-Q\theta$$
    (2)

    where k is the scale parameter (k > 0), e is price elasticity (e > 0), and θ is the deterioration rate \(\left(0<\theta \le 1\right)\).

  • Inflation is constant as the inventory is stored in the warehouse for a short period.

  • The planning horizon is considered infinite, as it has been assumed that cycle time (T) replicates itself countless times for the prospect.

  • The replenishment rate is instantaneous as it has been assumed that there is no inventory building up time or the lead time is zero.

  • For ease of calculation, the deterioration rate is assumed to be constant for both warehouses. (0 < θ < 1).

  • The storage capacity of the OW is finite, whereas the RW has infinite storage capacity.

  • The holding cost per unit item per unit time is higher in RW than OW since the rented warehouse is assumed to have a better preservation facility as professional warehousing companies run it.

  • The shortages are permitted, the unfulfilled demands are partially backlogged. The backlogging rate is inconsistent and changes accordingly with the waiting time for the next replenishment. It means that the longer the waiting time, the less will be the backlogging rate. The waiting time for the partially backlogged products is described as \({e}^{-H\left(T-t\right)}\), here H(> 0) represents the backlogging parameter, and (T-t) represents the waiting time of customers.

  • The freshness-keeping effort is directly proportional to carbon emission.

  • The Carbon Cap and Trade Policy (Mishra et al. 2020) has been considered to attain sustainability of the system. Carbon dioxide gas is the leading cause of environmental destruction worldwide, so it becomes essential to reduce its emission as far as possible. Switching to green technology is a way to minimize energy consumption that eventually may reduce emissions. Hence we consider an investment in green technology (Mishra et al. 2020). We also assume the emissions from inventory deterioration and packaging postponement activities (Richards 2017).

  • A carbon cap and trade policy are established for a sustainable inventory model to control carbon emissions and have good economic growth. The formulas and cost estimation for this are described (Mishra et al. 2020).

    $$Amount\ of\ emission\left(CE\right)=\frac{Ac}{t}+{e}_{2}W\left(t\right)+\Delta f{e}_{3}W\left(t\right)+\left(u+V\right)D$$
    (3)
    $$Cost\ of\ emission=\beta \left(M-CE\left(1-\alpha \left(1-{e}^{-jC}\right)\right)\right)$$
    (4)
Fig. 2
figure 2

Demand D (b, Q, θ) to selling price b and quality parameter Q

Here, \(CE\left(1-\alpha \left(1-{e}^{-jC}\right)\right)\) denotes the drop in carbon emission after investment in greener technologies C. The emission cost is indicated by \(\beta \left(M-CE\left(1-\alpha \left(1-{e}^{-jC}\right)\right)\right)\). Manufacturer’s carbon emission is less than the permitted cap M when \(\beta \left(M-CE\left(1-\alpha \left(1-{e}^{-jC}\right)\right)\right)>0,\) thus the manufacturer can sell this reduced carbon quantity to generate revenue. In case the manufacturer’s carbon emission is more significant than permitted cap M when \(\beta \left(M-CE\left(1-\alpha \left(1-{e}^{-jC}\right)\right)\right)<0,\) the manufacturer must purchase the carbon permits from other producers, leading to an increase in the cost of emission.

3.2 Notations

Following notations are used in the modeling of inventory policy.

\({W}_{r}\left(t\right),{W}_{o}\left(t\right)\)

Inventory level at time t in RW and OW

\({t}_{L}\)

The time at which the lockdown starts

\({\mathrm{W}}_{\mathrm{F}}\)

Quantity per replenishment

\({t}_{o}\)

The time at which the lockdown is relaxed

\({P}_{F}\)

The maximum stock level at the beginning of the cycle

\(CE\)

Carbon emission(Kg/year)

\(E\)

Ordering cost per order

\(M\)

Annual carbon emission cap (Kg/Year)

\(U\)

Storage limit in OW

\(j\)

Efficiency of Green technology in carbon emission shrinkage

\(L\)

Storage limit in Rented warehouse

\(\alpha\)

Fraction of carbon emitted after green technology investment

\(\theta\)

Deterioration rate(decrease in quantity/time)

\(\beta\)

Carbon tax(tax/year)

\(r\)

Rate of discount

\(C\)

Capital investment in green technology (investment/year)

\(i\)

Rate of inflation

\({A}_{c}\)

Carbon discharged in association with setup cost (Kg/Year)

\(R\)

The net discount rate of inflation

\(Q\)

Parameter of quality (change in demand/quality)

\(B\)

Unit Purchasing cost of item

\(\Delta\)

Inventories in-operative

\(b\)

Unit selling cost of item

\({e}_{2}\)

Carbon emitted from inventory (kg/year)

\(D\left(b,Q,\theta \right)\)

Rate of demand

\({e}_{3}\)

Carbon emitted from inventory obsoleted (kg/year)

\(X,Y\)

Holding cost of items in owned and RW, respectively (per item per unit time)

\(f\)

Load of unusable inventory in the warehouse

\(J\)

Per Unit shortage cost per time

\(V\)

Influence of carbon emission on the location because of inventory (kg/year)

\({J}_{L}\)

Per unit lost sale cost per time

\(u\)

Emission due to manufacturing (kg/year)

\(H\)

Backlogging parameter

\(\gamma\)

Back-ordered stock out time in percentage. (%)

\(T\)

Cycle time

\(Z\left(t\right)\)

Level of shortage at time t

\({t}_{1}\)

The time when the inventory in OW reaches zero

\({\Delta d}_{1}\)

Increase in demand after uplifting the lockdown or due to panic purchasing behavior of the customers

\(\Delta d\)

Decline in demand due to lockdown

\({t}_{2}\)

The time when the inventory in RW reaches zero

\(AP\left(b,{P}_{F}\right)\)

Average profit

 

4 Mathematical model development

This paper deals with the two different lockdown scenarios in which the entire supply chain gets disrupted due to the COVID-19 pandemic. We consider a two-warehouse inventory system with FIFO dispatching policy. As the lot arrives, the backlog is fulfilled first; then, the remaining inventory occupies their space in OW with a finite storage capacity, and RW possesses infinite storage capacity. The unfulfilled demands consider partial backlogging, and the backlogging rate depends on the customer’s waiting time. The model considers carbon cap and trade policy to raise sustainability concerns. A constant inflation rate has been taken into account, as it gives the real-time value of money.

4.1 Model for Scenario 1

Scenario 1 focuses upon the cycle time (0, T). Here the quantity ordered is WF, (WF = PF + D(T-t2)) upon which the PF quantity enters into the inventory systems after meeting all the previous backlogs D(T-t2). Out of available inventory, PF, U units are kept in OW and the remaining L = PF-U units in RW. During (0, tl), the quantity in OW gets reduced due to the combined effect of demand and deterioration, i.e., \(D\left(b,Q,\theta \right)={D}_{o}-Q\theta\). The Demand D(b, Q, θ) is given as

$$D\left(b, Q,\theta \right)=\left\{\begin{array}{cc}{D}_{o}-Q\theta ,& 0<t\le {t}_{L}\\ {D}_{o}-Q\theta -\Delta d& {t}_{L}\le t\le {t}_{O}\\ {D}_{o}-Q\theta +\Delta {d}_{1}& {t}_{O}\le t\le {t}_{1}\\ {D}_{o}-Q\theta +\Delta {d}_{1}& {t}_{1}\le t\le {t}_{2}\\ {D}_{o}-Q\theta & {t}_{2}\le t\le T\left(backlogging\ parameter\right)\end{array}\right\}.$$
(5)

Figure 3 graphical represents Scenario 1.

Fig. 3
figure 3

Dispatching of goods in Scenario1

The governing equation of the inventory depletion in both the warehouses is given by

$$\frac{dW\left(t\right)}{dt}+\theta W\left(t\right)=-D\left(b, Q,\theta \right)$$
(6)

With boundary condition, Wo(0) = U, the inventory level during (0, tL) is given by,

$${W}_{o}\left(t\right)=-\frac{{D}_{o}}{\theta }+Q+\frac{\left(U+\frac{{D}_{o}}{\theta }-Q\right)}{{e}^{\theta t}}$$
(7)

We consider the function D(b, Q, θ) is continuous in time interval (0, T). Therefore during (tL, to) the inventory level is given as,

$${W}_{o}\left(t\right)=-\frac{{D}_{o}}{\theta }+Q+\frac{\Delta d}{\theta }+\frac{\left(\left(U+\frac{{D}_{o}}{\theta }-Q\right)-\frac{\Delta d}{\theta }{e}^{\theta {t}_{L}}\right)}{{e}^{\theta t}}$$
(8)

Similarly, during (to, t1) the inventory level is obtained as,

$$\begin{array}{l}{W}_{o}\left(t\right)=-\frac{{D}_{o}}{\theta }+Q-\frac{\Delta {d}_{1}}{\theta }\\\qquad\qquad+\;\frac{\left[\left(U+\frac{{D}_{o}}{\theta }-Q\right)-\frac{\Delta d}{\theta}{e}^{\theta{t}_{L}}\right]+\left(\frac{\Delta d}{\theta }+\frac{\Delta {d}_{1}}{\theta }\right){e}^{\theta {t}_{o}}}{{e}^{\theta t}}\end{array}$$
(9)

And using boundary condition \({W}_{o}\left({t}_{1}\right)=0\), the time when the OW gets completely vacated is given by,

$${t}_{1}=\frac{1}{\theta }log\left(\frac{\left(\left(U+\frac{{D}_{o}}{\theta }-Q\right)-\frac{\Delta d}{\theta }{e}^{\theta {t}_{L}}\right)+\left(\frac{\Delta d}{\theta }+\frac{\Delta {d}_{1}}{\theta }\right){e}^{\theta {t}_{o}}}{\left(\frac{{D}_{o}}{\theta }-Q+\frac{\Delta {d}_{1}}{\theta }\right)}\right)$$
(10)

As the OW becomes empty, the inventory is dispatched from the RW. The inventory depletion occurs due to the effect of deterioration. Therefore the inventory level in RW in the interval (0, t1) with boundary condition Wr (0) = L is,

$${W}_{r}\left(t\right)=L{e}^{-\theta t}$$
(11)

For the time interval (t1, t2), the inventory level is obtained as

$${W}_{r}\left(t\right)=-\frac{{D}_{o}}{\theta }+Q+\frac{\left({L}_{o}+\frac{{D}_{o}}{\theta }-Q+\frac{\Delta {d}_{1}}{\theta }\right){e}^{\theta {t}_{1}}}{{e}^{\theta t}}-\frac{\Delta {d}_{1}}{\theta }$$
(12)

And using the boundary condition Wr(t2) = 0, the time when the RW gets completely vacated is given by

$${t}_{2}=\frac{1}{\theta}\ log\left(\frac{\left({L}_{o}+\frac{{D}_{o}}{\theta }-Q+\frac{\Delta {d}_{1}}{\theta }\right){e}^{\theta {t}_{1}}}{\left(\frac{{D}_{o}}{\theta }-Q+\frac{\Delta {d}_{1}}{\theta }\right)}\right)$$
(13)

At t = t2 the inventory in both the warehouses exhausts completely, and shortages start building up during the interval t2 to T. As assumed, some fraction of deficiencies that are \({e}^{-H\left(T-t\right)}\) and the remaining are lost. Hence the backlogging during the interval (t2,T) with boundary condition Z(t2) = 0 is given by

$$Z\left(t\right)=-\frac{\left({D}_{o}-Q\theta \right)}{H}{e}^{-H\left(T-t\right)}+\left({D}_{o}-Q\theta \right)\frac{{e}^{-H\left(T-{t}_{2}\right)}}{H}$$
(14)

Now the Present value of various costs during the interval 0 to T is found. These are as follows: (See Appendix C for expressions and solutions of Eqs. (1522)).

  1. (a)

    Present value of the ordering cost

    $$CO=ordering\ cost\ per\ order$$
    (15)
  2. (b)

    Present value of the holding cost in RW is

    $$\begin{array}{l}{CH}_{RW}=holding\ cost\ in\ RW\ during\left(0,{t}_{1}\right)\\\qquad\qquad+\;holding\ cost\ in\ RW\ during\ \left({t}_{1},{t}_{2}\right)\\\qquad\qquad-\;cost\ of\ emission\ in\ RW\ during\ \left(0,{t}_{1}\right)\\\qquad\qquad-\;cost\ of\ emission\ in\ RW\ during\ ({t}_{1},{t}_{2})\end{array}$$
    (16)
  3. (c)

    Present value of the holding cost in OW is

    $$\begin{array}{l}{CH}_{OW}=holding\ cost\ in\ OW\ during\ \left(0,{t}_{L}\right)\\\qquad\qquad+\;holding\ cost\ in\ OW\ during\ \left({t}_{L},{t}_{o}\right)\\\qquad\qquad+\;holding\ cost\ in\ OW\ during\ \left({t}_{o},{t}_{1}\right)\\\qquad\qquad-\;cost\ of\ emission\ in\ OW\ during\ \left(0,{t}_{L}\right)\\\qquad\qquad-\;cost\ of\ emission\ in\ OW\ during\ \left({t}_{L},{t}_{o}\right)\\\qquad\qquad-\;cost\ of\ emission\ in\ OW\ during\ ({t}_{o},{t}_{1})\end{array}$$
    (17)
  4. (d)

    Present value of backlogging cost is

    $$SC=backlogging\ cost\ during\ the\ time\ interval\ ({t}_{2},T)$$
    (18)
  5. (e)

    Present value of opportunity cost owing to lost sale is

    $$OP=opportunity\ cost\ during\ the\ time\ interval\ \left({t}_{2},T\right)$$
    (19)
  6. (f)

    Present value of the purchasing cost is

    $$PC=\left(Purchasing\ cost/item\right)\times quantity\ per\ replenishment$$
    (20)
  7. (g)

    Present value of the sales revenue is

    $$\begin{array}{l}SR=unit\ selling\ price(demand\ during\ \left(0,{t}_{L}\right)\\\quad\quad\;\;+\;demand\ during\ \left({t}_{L},{t}_{o}\right)\\\quad\quad\;\;+\;demand\ during\ \left({t}_{o},{t}_{1}\right)\\\quad\quad\;\;+\;demand\ during\ \left({t}_{1},{t}_{2}\right)\\\quad\quad\;\;+\;demand\ during\ ({t}_{2},T)\end{array}$$
    (21)

The average profit in the complete cycle (0,T) is given by,

$$\begin{array}{l}AP=\left(\frac{1}{cycle\ time}\right)(sales\ revenue-ordering\ cost\\\qquad\quad-\;holding\ cost\ in\ OW-holding\ cost\ in\ RW\\\qquad\quad-\;backlogging\ cost-opportunity\ cost\\\qquad\quad-\;purchasing\ cost)\end{array}$$
(22)

Solution technique

The aim is to maximize the total profit with the following conditions (Rana et al. 2021b):

$$\frac{{\partial }^{2}AP\left(b,{P}_{F}\right)}{\partial {{P}_{F}}^{2}} <0,\frac{{\partial }^{2}AP\left(b,{p}_{F}\right)}{\partial {b}^{2}} <0$$

Algorithm for scenario 1

The following algorithm is adopted to solve the profit equation using MATLAB® software.

  • Step 1: Initialize the input parameters.

  • Step 2: Initialize the number of items entering the inventory system [WF] and selling price per unit of item [b].

  • Step 3: Input value of \({P}_{F}\) and b. For example \(\left[182\le {P}_{F}\le 200\right]\) and [\(15\le b\le 30\)].

  • Step 4: Execute step 5 to step 11 for all the values of ‘i', here 1 ≤ i ≤ length (b).

  • Step 5: Execute Step 6 to Step 11 for all values of 'j,' here 1 ≤ j ≤ length (PF,).

  • Step 6: Calculate the number of items stored in RW L (j).

  • Step 7: Calculate the demand rate D(i, j).

  • Step 8: Calculate the inventory at any time t in RW & OW.

  • Step 9: Calculate \({t}_{1}\left(i,j\right)\) and \({t}_{2}\left(i,j\right)\).

  • Step 10: Calculate sales revenue and costs.

  • Step 11: Calculate the average profit.

  • Step 12: Identify the maximum average profit.

  • Step 13: Identify the number of goods in the system and the price per unit resembling the most significant average profit value (Fig. 4).

Fig. 4
figure 4

Average Profit vs. number of items in system vs. price per unit Scenario 1

4.2 Model for Scenario 2

Scenario 2 focuses upon the time interval (0, T). Here the quantity ordered is WF (WF = PF + D (T-t2)) upon which the PF quantity enters into the inventory systems after meeting all the backlogs D (T-t2). The quantity PF enters into the inventory systems upon which the U units are kept in an OW and the remaining L = PF-U units kept in an RW. From 0 to tL, the quantity in OW gets reduced due to the combined effect of demand and deterioration., i.e., \(D\left(b,Q,\theta \right)={D}_{o}-Q\theta\). The Demand D(b, Q, θ) is given as

$$D\left(b, Q,\theta \right)=\left\{\begin{array}{cc}{D}_{o}-Q\theta ,& 0<t\le {t}_{L}\\ {D}_{o}-Q\theta -\Delta d& {t}_{L}\le t\le {t}_{1}\\ {D}_{o}-Q\theta -\Delta d& {t}_{1}\le t\le {t}_{o}\\ {D}_{o}-Q\theta +\Delta {d}_{1}& {t}_{o}\le t\le {t}_{2}\\ {D}_{o}-Q\theta & {t}_{2}\le t\le T\left(backlogging\ parameter\right)\end{array}\right\}$$
(23)

The graphical representation of scenario 1 has been shown in Fig. 5.

Fig. 5
figure 5

Dispatching of goods in scenario 2

The governing equation of the inventory depletion in both the warehouses is given by

$$\frac{dW\left(t\right)}{dt}+\theta W\left(t\right)=-D\left(b,Q,\theta \right)$$
(24)

With boundary condition, Wo(0) = U, the inventory level during (0, tL) is given by

$${W}_{o}\left(t\right)=-\frac{{D}_{o}}{\theta }+Q+\frac{\left(U+\frac{{D}_{o}}{\theta }-Q\right)}{{e}^{\theta t}}$$
(25)

We consider the function D(b, Q, θ) is continuous in the time interval (0, T). Therefore during (tL, t1) the inventory level is given as

$${W}_{o}\left(t\right)=-\frac{{D}_{o}}{\theta }+Q+\frac{\Delta d}{\theta }+\frac{\left(U+\frac{{D}_{o}}{\theta }-Q\right)-\frac{\Delta d}{\theta }{e}^{\theta {t}_{L}}}{{e}^{\theta t}}$$
(26)

Using boundary condition \({W}_{o}\left({t}_{1}\right)\)=0, when the OW gets completely vacated is given by,

$${t}_{1}=\frac{1}{\theta}\ log\ \left(\frac{\left(U+\frac{{D}_{o}}{\theta }-Q\right)-\frac{\Delta d}{\theta }{e}^{\theta {t}_{L}}}{\left(\frac{{D}_{o}}{\theta }-Q-\frac{\Delta d}{\theta }\right)}\right)$$
(27)

As the OW becomes empty, the inventory is dispatched from the RW. The inventory depletion occurs due to the effect of deterioration. Therefore the inventory level in RW in the interval (0, t1) with boundary condition Wr (0) = L is

$${W}_{r}\left(t\right)={Le}^{-\theta t}$$
(28)

For the time interval (t1,to), the inventory level is obtained as

$${W}_{r}\left(t\right)=-\frac{{D}_{o}}{\theta }+Q+\frac{\Delta d}{\theta }+\frac{\left(l+\left(\frac{{D}_{o}}{\theta }-Q-\frac{\Delta d}{\theta }\right){e}^{\theta {t}_{1}}\right)}{{e}^{\theta t}}$$
(29)

During (t2, to), the inventory level is given as

$$\begin{array}{l}{W}_{r}\left(t\right)=-\frac{{D}_{o}}{\theta }+Q-\frac{\Delta {d}_{1}}{\theta }\\\qquad\qquad+\;\frac{\left(L+\left(\frac{{D}_{o}}{\theta }-Q-\frac{\Delta d}{\theta }\right){e}^{\theta {t}_{1}}\right)+\left(\frac{\Delta d}{\theta }+\frac{\Delta {d}_{1}}{\theta }\right){e}^{\theta {t}_{o}}}{{e}^{\theta t}}\end{array}$$
(30)

And using the boundary condition Wr(t2) = 0, the time when the RW gets completely vacated is given by

$${t}_{2}=\frac{1}{\theta}\ log\ \left(\frac{\left(L+\left(\frac{{D}_{o}}{\theta }-Q-\frac{\Delta d}{\theta }\right){e}^{\theta {t}_{1}}\right)+\left(\frac{\Delta d}{\theta }+\frac{\Delta {d}_{1}}{\theta }\right){e}^{\theta {t}_{o}}}{\left(\frac{{D}_{o}}{\theta }-Q+\frac{\Delta {d}_{1}}{\theta }\right)}\right)$$
(31)

At t = t2 the inventory in both the warehouses exhausts completely, and shortages start building up during the interval t2 to T. As assumed, some fraction of shortages that are \({e}^{-H\left(T-t\right)}\) is backlogged exempting the remainings are lost. Hence the backlogging during the interval (t2,T) with boundary condition Z(t2) = 0 is given by

$$Z\left(t\right)=-\frac{\left({D}_{o}-Q\theta \right)}{H}{e}^{-H\left(T-t\right)}+\left({D}_{o}-Q\theta \right)\frac{{e}^{-H\left(T-{t}_{2}\right)}}{H}$$
(32)

Now the present value of various costs during the interval 0 to T are determined as follows; (See Appendix D for expressions and solutions of Eqs. (3340)).

  1. (a)

    Present value of the ordering cost is

    $$CO=ordering\ cost\ per\ order$$
    (33)
  2. (b)

    Present value of the holding cost in RW is

    $$\begin{array}{l}{CH}_{RW}=holding\ cost\ in\ RW\ during\ \left(0,{t}_{1}\right)\\\qquad\qquad+\;holding\ cost\ in\ RW\ during\ \left({t}_{1},{t}_{o}\right)\\\qquad\qquad+\;holding\ cost\ in\ RW\ during\ \left({t}_{o},{t}_{2}\right)\\\qquad\qquad-\;emission\ cost\ in\ RW\ during\ \left(0,{t}_{1}\right)\\\qquad\qquad-\;emission\ cost\ in\ RW\ during\ \left({t}_{1},{t}_{o}\right)\\\qquad\qquad-\;emission\ cost\ in\ RW\ during\ ({t}_{o},{t}_{2})\end{array}$$
    (34)
  3. (c)

    Present value of the holding cost in OW is

    $$\begin{array}{l}{CH}_{ow}=holding\ cost\ in\ OW\ during\ \left(0,{t}_{L}\right)\\\qquad\qquad+\;holding\ cost\ in\ OW\ during\ \left({t}_{L},{t}_{1}\right)\\\qquad\qquad-\;emission\ cost\ in\ OW\ during\ \left(0,{t}_{L}\right)\\\qquad\qquad-\;emission\ cost\ in\ OW\ during\ ({t}_{L},{t}_{1})\end{array}$$
    (35)
  4. (d)

    Present value of backlogging cost is

    $$SC=backlogging\ cost\ during\ the\ time\ interval\ ({t}_{2},T)$$
    (36)
  5. (e)

    Present value of opportunity cost owing to lost sale is

    $$OP=opportunity\ cost\ during\ the\ time\ interval\ \left({t}_{2},T\right)$$
    (37)
  6. (f)

    Present value of the purchasing cost is

    $$PC=\left(Purchasing\ cost/item\right)\times quantity\ per\ replenishment$$
    (38)
  7. (g)

    Present value of the sales revenue is

    $$\begin{array}{l}SR=unit\ selling\ price(demand\ during\ \left(0,{t}_{L}\right)\\\quad\quad\;\;+\;demand\ during\ ({t}_{L},{t}_{1})\\\quad\quad\;\;+\;demand\ during\ ({t}_{1},{t}_{o})\\\quad\quad\;\;+\;demand\ during\ ({t}_{o},{t}_{2})\\\quad\quad\;\;+\;demand\ during\ ({t}_{2},T))\end{array}$$
    (39)

The total profit in the complete cycle (0, T) is given by,

$$\begin{array}{l}AP=\left(\frac{1}{cycle\ time}\right)(sales\ revenue-ordering\ cost\\\qquad\quad-\;holding\ cost\ in\ OW-holding\ cost\ in\ RW\\\qquad\quad-\;backlogging\ cost-opportunity\ cost\\\qquad\quad-\;purchasing\ cost)\end{array}$$
(40)

4.2.1 Solution technique

The aim is to maximize the total profit, therefore,

$$\frac{{\partial }^{2}AP\left(b,{P}_{F}\right)}{\partial {{P}_{F}}^{2}}<0, \frac{{\partial }^{2}AP\left(b,{P}_{F}\right)}{\partial {b}^{2}}<0$$

The profit maximization is done using MATLAB software (Rana et al. 2021a) (Fig. 6). The algorithm for this is given in Sect. 4.1.

Fig. 6
figure 6

Average Profit vs inventory level vs price per unit for Scenario 2

4.3 Numerical Illustration of the scenarios

This section explains the change in average profit caused due to demand disruption. The input parameters provided here has been derived from the past literature works of (Jaggi, et al. 2015; Rana et al. 2021a; Mishra et al. 2020).

Input parameters

\(k=200000\)\(e=2\)\(\Delta d=120\)\(\Delta {d}_{1}=80\)\(E=150\)\(U=100\)\(X=1\)\(Y=1\)\(R=0.06\)\(T=3\)\(H=0.05\)\(J=2\)\(B=12\)\({A}_{c}=60\)\({e}_{2}=4\)\(f=0.6\)\(\Delta=0.2\)\({e}_{3}=3\)\(u=40\)\(V=60\)\(\beta =0.33\)\(M=900\)\(\alpha=0.2\)\(j=0.8\)\(C=1.6\)

Output parameters for Scenario 1

\(\left({t}_{L}=0.2,{t}_{O}=0.5\right)\)\({t}_{1}=0.5\)\({t}_{2}=0.80\)\(b=30\)\({W}_{F}=264.61\)\({P}_{F}=182\)\(Profit=833.53\)

Output parameters for Scenario 2

\(\left({t}_{L}=0.2,{t}_{O}=0.7\right)\)\({t}_{1}=0.65\)\({t}_{2}=0.96\)\(b=30\)\({W}_{F}=236.76\)\({P}_{F}=182\)\(Profit=591.54\)

For the analysis of the model, the output parameters for both scenarios are as follows. The time for complete depletion of items in OW and RW is represented by t1 and t2 selling price of the items by b, quantity per replenishment by WF, the maximum stock level at the beginning of the cycle by PF, and finally, the average profit by ‘profit’. When comparing the scenarios, the profit in scenario 1 is more than scenario 2 since the quantity per replenishment (WF) is more in scenario 1 than in scenario 2 (WF in Scenario 1: 264.61, Scenario 2: 236.76). The difference in the replenishment quantity is due to the backlogging rate, which is more in scenario 1. So due to the shorter lockdown duration (Scenario 1: 0.3(to-tL) compared to Scenario 2: 0.5(to-tL)), the time for complete depletion of good in OW and RW t2 in less in scenario 1 than 2 (t2 in Scenario 1: 0.80 and Scenario 2: 0.96) and due to fixed cycle time, the quantity backlogged in scenario 1 becomes more and hence more profit. Apart from this, after clearing all the "PF" backlogs, the warehoused items are the same in both scenarios. Additionally, this difference in profit is due to the rise in the holding cost. The holding cost includes the freshness keeping efforts applied on the items, and freshness keeping effort is proportional to emission cost, as per the assumption. As the lockdown period is smaller in scenario 1, the amount of freshness keeping effort required is less, resulting in lower emission cost. This is a FIFO model, where good is first stored in OW, and after complete depletion of goods in OW, the items get evacuated from RW. In scenario 1, the lockdown period starts (tL). It ends (to), when the items were depleting from OW (Do-Qθ-Δd), the RW does not face the lockdown scenario despite that it experiences the panic buying behavior of the customers in which the demand suddenly increases (Do –Qθ + Δd1). Due to a sudden increase in demand (Δd1), the depletion rate in RW increases, hence the storage duration (t2) of items in RW decreases, and the duration of application of freshness keeping effort decreases. Resulting in a decrease in the holding cost in RW (CHRW) and an increase in average profit (AP). In scenario 2, due to longer lockdown period (lockdown period, Scenario 1: 0.3 (to-tL) and Scenario 2: 0.5(to-tL)), the latter part of the OW (t1-tL) and initial part of the RW (to-t1) experiences the lockdown. As the RW experiences the lockdown, therefore the storage duration of items in RW(t2) increases, increasing freshness keeping effort, increase in holding cost(CHRW) and decrease in average profit, as shown in the numerical example (profit in Scenario 1: 833.53 and Scenario 2: 591.54). From this example, the difference in t2 – t1 is more in scenario 2 than 1, proving that items are stored for a greater time in RW. Though OW and RW experience the costs associated with freshness keeping effort, the costs of RW prove to be a game-changer because the holding cost per unit item per time in RW(Y/item/time) is greater than of OW(X/item/time), as per the assumptions. The consideration of carbon cap and trade tax imposed upon the warehouses for reducing carbon emission associated with freshness keeping effort is important as it brings sustainability issue in the mathematical model.

A detailed explanation of all the input and output parameters is shown in Sect. 5 (sensitivity analysis). The numerical example provides optimum selling price values and inventory levels, as depicted in Figs. 4 and 6. In addition, the numerical analysis helps us answer all five research questions as asked in Sect. 2.

5 Sensitivity analysis

Sensitivity analysis examines the model behavior by using different parameters such as holding (X) cost in OW, and RW (Y), discounted rate of inflation (R), scaling parameter of demand (K), price elasticity (e), deterioration rate (θ), the efficiency of green technology(j), carbon tax(β) and capital invested in greener technology (C).

  • Table 2 shows that for scenarios 1 and 2, keeping the holding cost in OW constant and increasing the holding cost of RW, there is a decrease in profit. When the holding cost of RW is kept constant and increasing the holding cost of OW, then there is a decrease in profit.

  • A threshold point in Table 2 denotes the shift of higher value of average profit from scenarios 1 to 2 amid the lockdown.

  • From Table 3, for Scenarios 1 & 2, as the scaling parameter increases, keeping price elasticity constant, there is an increase in ordering quantity; hence, the profit increases. Conversely, when the price elasticity increases, keeping the scaling parameter stable, there is a decrease in order quantity; thus, the profit decreases.

    • It is recommended from Table 3 that price w.r.t demand should be more elastic to mitigate the problem caused due to the increased lockdown period.

    • The backlogging parameter decreases or increases in backlogging rate, the profit increases. As seen in Table 4 scenarios 1 & 2.

    • The backlogging rate should be lower as higher backlogging does not make any notable difference in profit caused due to increases in the lockdown period.

    • In scenarios 1 & 2 of Table 5, the net discounted rate of inflation increases than a decrease in profit. This happens because inflation results in a reduction in customers' purchasing behavior.

    • In scenario 1, when the deterioration rate increases, there is a slight increase in order quantity but the profit decreases. As the order quantity increases, the carbon tax also increases, and hence profit decreases. Still, in scenario 2, there is a slight increase in order quantity and profit due to a decrease in carbon tax as the firm adopts green technology (Table 6).

    • From scenarios 1 & 2 of Table 7, it is seen that as the carbon tax increase, the profit decreases for the same order quantity. The increase in carbon tax significantly affects scenario 2 as it has a more extended lockdown period, as shown in Table 7.

    • The effect of efficiency of green technology w.r.t profit is shown in Table 8. In scenarios 1 & 2 of Table 8, for the same order quantity, an increase in the efficiency of green technology increases the average profit.

    • The capital invested in greener technologies w.r.t profit is shown in Table 9. In scenario 1 & 2 of Table 9, an increase in capital invested in greener technologies helps in increasing the average profit.

Table 2 Behaviour of the model in scenarios 1 & 2 w.r.t holding costs in OW, i.e., X and RW, i.e., Y
Table 3 Behaviour of the model in Scenario 1 and Scenario 2 w.r.t scaling parameter (k) and price elasticity (e)
Table 4 Behaviour of the model in Scenarios 1 & 2 w.r.t backlogging parameters (H)
Table 5 Behaviour of the model in scenario 1 & 2 w.r.t discounted rate of inflation (R)
Table 6 Behaviour of the model in scenario 1 & 2 w.r.t deterioration rate (θ)
Table 7 Behaviour of the model in scenario 1 & 2 w.r.t carbon tax (B)
Table 8 Behaviour of the models for Scenario 1 & 2 with the efficiency of greener technology (J)
Table 9 Behaviour of the models in scenarios 1 and 2 w.r.t capital invested in greener technologies (C)

6 Discussion

As per the sensitivity analysis presented in Tables 29, the average profit of an organization is majorly affected due to the demand disruption period. In the disrupted period, the depletion rate of items in the warehouse decreased that compels the warehouses to lay additional freshness keeping effort upon the inventory items resulting in a surge in the carbon tax and a decrease in average profit–the outcomes of the present study help in obtaining specific theoretical and managerial implications as follows.

6.1 Implication for theory

This section explains the proposed models' contribution to the operation management of two warehouses during the pandemic lockdown period. First, the outbreak of the Covid-19 virus forced the Governments to impose certain restrictions on the movement of people; such limits led to a significant decrease in demand for foods items by a finite volume (Δd) due to which the average profit declines, as shown in Fig. 7c-d. Conversely, as the spread of infection is under control, the lockdown-like restrictions have eased that trigger the panic buying of the foods items with the fear of its unavailability during post-pandemic scenarios. This leads to a demand shock by a finite volume Δd1, and the firm’s average profit increases, as shown in Fig. 8e-f. Additionally, such an unforeseen increase in demand after lockdown results in the inventory build-up as the unfulfilled demands of the customer are backlogged. The backlogging parameter decreases the average profit as it depends upon the waiting time of the customers, as shown in Fig. 7a-b. During the lockdown period, the organization's primary challenge is maintaining the quality of the food items by increasing the freshness keeping effort. Due to this, the emission of carbon increases, followed by a carbon tax as per Fig. 8e-f. As shown in Table 9, certain investments can be made in green technology solutions to minimize carbon emission and maximize productivity. Examples of such solutions are solar panels, LED lighting, air separators, heat pump, rainwater recovery, CO2 for cooling, IOT based energy optimization technologies, etc. The reduction in carbon emission caused due to green technology investment helps the organization increase its average profit (Fig. 8c-d). Further, the cycle time should be less, as a slight increase in it can drastically increase carbon emissions as shown in Fig. 7g and decrease the average profit as presented in Fig. 8a-b.

Fig. 7
figure 7

(a-f):Average profit vs (a-b) backlogging parameter(Scenario 1 & 2), vs (c-d) change in demand Δd (Scenario 1 & 2), vs (ef) change in demand Δd1 (Scenario 1 & 2), (g): cycle time vs carbon tax (Scenario 1 & 2) and (h) capital investment in greener technology vs carbon tax

Fig. 8
figure 8

(a-f): For Scenarios 1 & 2, the Average profit vs, (a-b) deterioration rate vs cycle time, (c-d) capital investment in greener technology vs carbon tax, (ef) lockdown period vs carbon tax

6.2 Implications for manager

The findings from the proposed model provide important implications for the managers that may assist in developing a sustainable business environment amid pandemic-driven disruptions. First, the model suggests controlling the holding cost wisely according to the order quantity. A rise or decline in holding charges in OW and RW can give a threshold point at which the average profit decreases irrespective of the lockdown period. The price elasticity increases the order quantity but reduces the average profit. The reduction in profit is caused due to increase in order quantity which increases carbon emissions and hence the emission cost. Therefore in an extended lockdown period, it is recommended by the model to minimize the order quantity as per the constant price elasticity of demand. The backlogging should be minimum as the increase in backlogging does not significantly increase average profit.

Additionally, carbon emission should be kept at a minimum in an extended lockdown period, as it drastically decreases the average profit. Finally, the capital investment that helps achieve greener technology's efficiency should be kept as low as possible. Unfortunately, though this factor helps reduce the emission cost, it fails to make any significant difference in average profit due to such a devastating lockdown-like scenario.

6.3 Limitations and further research directions

The proposed models deal with certain limitations such as, these models will work only when; the lockdown period is shorter than the cycle time; a single type of inventory is stored in warehouses OW and RW; the deterioration rate of the item is constant; carbon emission is from inventory stored in warehouses only OW and RW; the dispatching policy is FIFO. However, this study gives bounteous opportunities for future research work. For example, these models can be studied with other inventory parameters like variable deterioration rates such as Weibull distributed deterioration and numerous demand patterns such as deterministic and probabilistic demands. Further, the effect of cross perishability, trade credit, and LIFO dispatching policy can be studied by incorporating such parameters into the present models. The amalgamations of these parameters will give a more realistic approach to this study, and hence the organization can become more capable of dealing with disruptions and shocks.

7 Conclusion

This paper presents a study of the perishable inventory model under the Covid-19 pandemic like disruption, carbon cap, trade policy, and backlogging. In this study, two scenarios have been considered with different lockdown periods. This study finds critical insights: as the lockdown period increases, the cost of maintaining the perishable goods in the warehouse increases, and the profit decreases. The increase in the cost is due to the increases in preservation effort as the products are kept in the warehouse for a more extended period. The preservation effort is increased to keep the deterioration rate under control. As the preservation effort increases, the requirement of power also increases, due to which the carbon tax increases and hence the profit decreases. In scenario 1 the carbon tax imposed is less because of the shorter lockdown period; therefore, the preservation effort is insignificant. In scenario 2 the carbon tax imposed is more due to the extended lockdown period; hence the profit decreases. The carbon tax plays a decisive role in this study; the profit margin mainly depends upon the amount of carbon emitted by the warehouses. Therefore, the warehouses should reduce carbon emissions by investing in greener technologies.