1 Introduction

For more than three decades, integration and collaboration among supply chain members have shown great potential in supply chain management. Many researchers are inspired by global awareness of environmental sustainability to determine how demands placed on the environment can be met without reducing its capacity to allow humans to live well now and in the future. Sustainability primarily focuses on economic, social, and environmental growth, which are informally referred to as people, profit and planet respectively. Eco-product design, sustainable construction, process improvement, and lean operations etc., are all part of this scope (Walker et al. [1]). Many researchers have incorporated carbon emissions into inventory management. Jauhari et al. [2] combined fixed and variable emission costs, in which fixed emission costs include forward and reverse transportation of defective products between vendor and buyer, and variable emission costs depend on delivery size. Low carbon supply chain management (Daryanto and Wee [3]) is not harmful to the environment. The most important aspect of becoming eco-friendly is sustainability. Because the entire world is polluted with toxic amounts of carbon emissions, making it sustainable can be a wise decision. Recently, Lu et al. [4] studied emission from two-stage supply chain. Their model considers carbon emissions from transport and warehousing of products. This research includes carbon emission costs with carbon emission regulation in the total integrated cost. The above study also considers carbon tax regulation.

One of the key factors that should not be neglected is deterioration, as inventory flow is reduced due to the combination of demand and deterioration. Deterioration is generally defined as evaporation, obsolescence, decay, spoilage, damage, dryness, and other processes that reduce the quality and quantity of a product (Rau et al. [5]). One of the assumptions in traditional inventory models was that items retained their physical characteristics well while being stored, but this is not always true for all items. As a result, investment in preservation technology is essential for controlling item deterioration, reducing economic losses, improving customer service, and increasing market competition. Following this discovery, many researchers worked on inventory models for deteriorating items using preservation technology (Mishra et al. [6]). Food waste at retailers occurs from deterioration, and not only from product expiration (Beullens and Ghiami [7]).

An inventory model is based on the belief that as soon as the supplier receives the producer's goods, he must pay for the goods. However, in today's scenario, it is very common to observe that the producer will allocate a specific time interval for paying the total price of items that the producer owes to the suppliers for the goods, known as the trade credit period (TCP). In most cases, interest is not charged if the money is returned within the time specified by the producer. There are two advantages to the producer's trade-credit period.

  1. 1.

    This price reduction policy for green products attracts new customers.

  2. 2.

    It should result in a decrease in sales because it takes time to profit from this delay period more frequently, and some customers will pay faster.

In today’s competitive environment, TCP performs as policy for an increasing number of customers. They may offer TCP (Ho [8]; Shah et al. [9]) or be involved in the strategic coordination of supply chain.

1.1 Contribution of the study

From literature survey and Table 1, it is clearly seen that no research has been done by combining the following factors at the same time: two-echelon inventory model with (1) controllable deterioration (2) inflation (3) trade credit period (4) carbon emission (production process, warehousing, transporting, storing, waste activities). Therefore, our objective is to merge these factors combinedly to make more realistic model. This model determines optimal time, preservation technology cost and total cost. In order to obtain the optimal policy, we used quasi-closed form to help the producer and supplier to evaluate optimal replenishment decision under minimizing the total cost. Further, mathematical software Mathematica is used for numerical and sensitive analysis.

Table 1 Contribution of this paper and previous study

The contribution of this paper and previous study is summarized in Table 1. Apart from introduction, this paper is divided into 9 Sections. Previous related studies are narrated in Sect. 2. Assumption and notations are given in Sect. 3. The description of mathematical model is given in Sect. 4. To obtain optimal solution of the proposed model a solution procedure is provided in Sect. 5. To show the effectiveness and availability of the proposed model, a numerical analysis and sensitivity analysis have been conducted in Sects. 6 and 7 respectively. The results and managerial insights are combinedly given in Sect. 8. Finally, the paper ends with some concluding remarks and possible future extensions of this work in Sect. 9. The flowchart of this study is presented in Fig. 1.

Fig. 1
figure 1

Flow chart of proposed study

2 Literature review

In this section, the detailed information of previous research which is also useful for this study is presented. This section is divided into 6 sub sections based on the following specific areas such inventory models, inventory model inventory model with deterioration, inventory model with controllable deterioration, inventory model with inflation, inventory model with trade credit and inventory model with carbon emission.

2.1 Inventory model

He et al. [10] examined selling opportunities of manufacturer in production inventory model of a deteriorating items in different markets. They explored the production management strategies and found that they are important to improve a firm’s profitability. In business practice, it is seen that the huge stock of one product has a negative impact on other products. To deal with such situation, an EOQ model for homogeneous products was examined by Sana [11]. They considered the displayed stock space is limited and the demand of items is dependent on displayed stock level. Rau et al. [12] proposed a deteriorating item inventory model with shortage due to supplier in an integrated supply chain model. Another observable issue is freshness of items as freshness declines with time results decrease in demand at the same price. The freshness of items may increase or decrease the sale of items. Therefore, an inventory model for deteriorating items has been studied by Banrjee and Agarwal [13] in which demand is initially dependent on price and later it depends on freshness. Rabta [14] formulated an inventory model for a product in circular economy. They assumed that the demand, price and costs depend on the circularity level of the products. They optimized optimal circularity level and order quantity simultaneously.

2.2 Inventory model with deterioration

Many researchers worked on integrated inventory model for deteriorating items. Sarkar [15] solved a production inventory problem for deteriorating items in a two-echelon supply chain network design. They considered three types of probabilistic deterioration function to calculated associated cost. They obtained the optimal number of deliveries with integers, minimum cost, lot size for three different models. Ghiami and Williams [16] studied a single producer multi-buyer integrated inventory model for a deteriorating item with finite production rate. Chan et al. [17] proposed an integrated inventory model for exponentially deteriorating items considering single-vendor single-buyer. They optimized how production rate affects the total cost by taking it as a decision variable. Moubed et al. [18] studied a closed-loop supply chain including a manufacturer and a distributing centre that are producing and distributing one type of deteriorating item to consumers. The deteriorating items are collected from distribution centre and made available by the producer. The effect of three strategies: bargaining, better warehousing and changed collection rules are simulated using dynamic system.

2.3 Inventory model with controllable deterioration

A dynamic pricing inventory decision making model of deteriorating items having stochastic demand and promotional effort has been discussed by Soni and Chauhan [19]. They utilized preservation investment in their model. Maihami et al. [20] presented an inventory control model for supply chain of deteriorating items. They adopted probabilistic demand and deterioration, and compared integrated and non-integrated policy. They also studied the impact of the compensation policy in the supply chain coordination. The deterioration rate of perishable items can be reduced by using preservation technology. A multistage inventory problem for deteriorating items considering manufacturer’s raw materials and finished products on collaborative preservation investment has been studied by Chang et al. [21]. Yu et al. [22] analysed an inventory optimization problem consisting perishable products under carbon emission. Recently, Yadav et al. [23] presented a sustainable supply chain model having two manufacturer and a common retailer. They identified the optimal value of production rate, order quantity, number of shipment and preservation investment. they reduced 20% wastage of quantity by using preservation technology and proved that preservation technology’s benefits are more useful for the product’s safety and quality issues.

2.4 Inventory model with inflation

For long term businesses the effect of inflation cannot be ignored in supply chain management. Two-warehouse inventory system of deteriorating items with exponential demand under inflation and partial backordering has been provided by Bansal and Ahalawat [24]. Singh and Sharma [25] considered integrated inventory model in which raw materials are purchased by manufacturer from supplier. After this manufacturer produces finished goods and delivers them to a buyer. They considered that the production rate is dependent on demand rate whereas the demand rate is time dependent. To make their model more realistic, the effect of inflation on all costs has been considered. Tiwari et al. [26] investigated a two-warehouse inventory model for deteriorating items. They studied the effect of inflation on the optimal model. This model allows shortages and partial backlogging. Recently, Hemapriya and Uthayakumar [27] discussed the effect of inflation and ordering cost reduction depending on lead time and lead time reduction on the single-vendor single-buyer integrated production inventory model.

2.5 Inventory model with trade credit period

Trade credits are useful to improve the cash flow of businesses as well as improve relationship with vendor. Chung et al. [28] investigated a new integrated three-echelon supply chain model with non-instantaneous deterioration. In their model the supplier offers permissible delay period to the retailer and simultaneously the retailer provides maximal trade credit period to end customers to encourage sale and business profit. In the same year, Das et al. [29] demonstrated two integrated inventory models considering impact of discrete TCP on the purchased quantity and manufacturer collects raw-material with free transportation cost offered by supplier. They identified an optimal transportation cycles and optimal business cycles. In today’s scenario, different forms of TC policy are available to encourage retailer to buy larger quantities. An order quantity dependent trade credit period in supply chain model has been examined by Ouyang et al. [30]. Krugon and Nagaraju [31] developed two echelon inventory model with nonlinear price dependent demand. In their model producer delivered single item to the retailer and to encourage customers, a credit period is provided to the retailer by the manufacturer. They evaluated cycle time, retailer’s replenishment quantity, number of shipment and total cost. Ding et al. [32] investigated two-echelon supply chain network design with credit period. They optimized TC terms and safety stock level simultaneously. Mahota and Mahato [33] presented an inventory model with expiration date and dynamic demand under trade credit.

2.6 Inventory model with carbon emission

Environmental impacts of supply chain are considerable research areas. With the increasing awareness of climate change, researchers are now incorporating eco-friendly considerations into supply chain decision models. Wahab et al. [34] coordinated and integrated two-level international supply chain considering imperfect items and environmental impact. An integrating simulation model has been examined by Fichtinger et al. [35] considering warehouse-related greenhouse gas emission. They obtained that supply lead time, reorder quantities, and storage items all have substantial impact on total costs and emission. Tiwari et al. [36] examined an integrated inventory model to control environmental impact. They assumed transporting, storing/keeping deteriorating items, warehousing can create carbon emission and also minimized both total relevant cost, and carbon emission cost. Again, Tiwari et al. [37] established a green inventory problem for non-instantaneous deteriorating items under different conditions of delay in payments. They minimized carbon emission and maximized profit. The supply chain system involving vendor, buyer and freight forwarding company considering environment issues has been developed by Wangsa et al. [38]. In the same year, Mishra et al. [39] studied a carbon cap and tax regulated greener inventory problem for a buyer using a linear and non-linear price dependent demand. They controlled deterioration of greenhouse farm by using preservation investment. Also, identified that linear price dependent demand can give maximum profit. Latha et al. [40] developed joint economic lot size inventory model which consist of single-vendor and single-buyer and combinedly working on ordering cost reduction investment, back-order price discount and reduction on lead time by adopting geometric shipment policy. Giri and Ray [41] examined a sustainable supply chain considering a supplier and a manufacturer with emission sensitive demand under cap-and trade policy.

3 Notations and assumptions

In the development of the multi-echelon sustainable inventory model the below given notations and assumptions are utilized:

4 Notations

The mathematical representation of the notation is given in Table 2.

Table 2 Notations

4.1 Assumptions

  1. 1.

    The demand rate (D) is known, constant, and a single type of item is considered.

  2. 2.

    The production rate (P) of manufacturer is known, constant, and greater than the demand rate.

  3. 3.

    The deterioration rate (\(\theta_{0}\)) of the items is constant.

  4. 4.

    The preservation technology investment is used to reduce the deterioration rate of items.

  5. 5.

    Let \(m(\xi ) = 1 - e^{ - \lambda \xi }\) where \(\xi\) is an investment in preservation technology and “\(\lambda\)” is a factor representing the percentage increase in \(m(\xi )\). \(m(\xi ) = 1 - e^{ - \lambda \xi }\) is a function that is continuous, concave, and twice differential with respect to preservation investment \(\xi\), at \(m(0) = 0\) and \(\mathop {\lim }\limits_{\xi \to \infty } m(\xi ) = 1\). Here \(m^{\prime}(\xi ) = \lambda e^{ - \lambda \xi }\) and \(m^{\prime\prime}(\xi ) = - \lambda^{2} e^{ - \lambda \xi } < 0\).

  6. 6.

    The transportation of items from one place to another place in “n” deliveries is done by truck.

  7. 7.

    Logistic activities, production process, warehousing of unsold items, storing deterioration items, disposal of waste can create carbon emissions.

  8. 8.

    A shortage is not allowed.

5 Model description

5.1 Vendor’s inventory model

Figure 2 shows the producer’s model for deteriorating products when shortages are not allowed. At time \(t = 0\), the manufacturing process starts and the quantity is zero. Production reaches its maximum level \(Q_{m}\) at time \(t = t_{1}\) at a constant rate of production P, demand rate D, and deterioration rate \(\theta_{0}\). From that point, inventory starts to decline due to customer demand and deterioration. The inventory becomes zero at time t = T.

Fig. 2
figure 2

Representation of inventory system of producer

[See Appendix 1 for mathematical development].

Manufacturer total average cost consists of setup cost, production cost, preservation technology cost, solid waste disposal cost, holding cost, deterioration cost, and transportation cost, therefore

$$TC_{m} = SC_{m} + PC_{m} + PTC_{m} + WDC_{m} + HC_{m} + DC_{m} + C_{TR}$$

In which.

$${\text{Setup cost}}\;\;\;SC_{m} = \frac{{A_{m} \, }}{T}$$
(1)

5.1.1 Production cost

The production cost considers both traditional production cost (\(C_{p}\)) and carbon emission cost (\(C_{pe}\)) associated with business from manufacturing a product or providing services. Therefore, production cost with the effect of inflation and carbon emission cost can be calculated as follows:

$$\begin{gathered} PC_{m} = \frac{{(C_{p} + C_{pe} )}}{T}\int\limits_{0}^{{t_{1} }} {Pe^{ - rt} dt} \hfill \\ PC_{m} = \frac{{(C_{p} + C_{pe} )}}{T}P\left( {t_{1} - \frac{{rt_{1}^{2} }}{2}} \right) \hfill \\ \end{gathered}$$
(2)

where \(C_{pe} = e_{p} E_{e} T_{X}\) is carbon emission cost produced by energy usage for the machining and handling operations in production.

5.1.2 Holding cost

Figure 2 shows that the inventory is carrying in the interval [0, \(t_{1}\)] to [\(t_{1}\), T]. The producer’s holding cost is sum of two costs; traditional carrying cost (\(C_{hm}\)) and carbon emission cost (\(C_{hme}\)) due to consumption. Therefore, the total holding cost per unit time with the effect of inflation can be formulated as

$$\begin{gathered} HC_{m} = \frac{{(C_{hm} + C_{hme} )}}{T}\left[ {\int\limits_{0}^{{t_{1} }} {I_{m1} (t)e^{ - rt} dt + \int\limits_{{t_{1} }}^{T} {I_{m2} (t)e^{ - rt} dt} } } \right] \hfill \\ HC_{m} = \frac{{(C_{hm} + C_{hme} )}}{T}\left[ \begin{gathered} (P - D)\left( {\frac{{t_{1}^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)t_{1}^{3} }}{6} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)t_{1}^{3} }}{3}} \right) \hfill \\ {\text{ + D}}\left\{ \begin{gathered} \left( {\frac{{T^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)T^{3} }}{3} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)T^{3} }}{6}} \right){ - }\left( {Tt_{1} - \frac{{t_{1}^{2} }}{2}} \right) \hfill \\ { - }\frac{{\left( {\theta_{0} - m(\xi )} \right)}}{2}\left( {T^{2} t_{1} - \frac{{t_{1}^{3} }}{3}} \right) + \left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)\left( {\frac{{Tt_{1}^{2} }}{2} - \frac{{t_{1}^{3} }}{3}} \right) \hfill \\ \end{gathered} \right\} \hfill \\ \end{gathered} \right] \hfill \\ \end{gathered}$$
(3)

where \(C_{hme} = w_{me} E_{e} T_{X}\) is carbon emission cost generated by inventory warehousing activities.

5.1.3 Deterioration cost

From Fig. 2 it is seen that the deterioration of items happens during time [0, t1] to [t1, T]. Therefore, the total deterioration cost with the effect of inflation and carbon emission cost can be determined as

$$\begin{gathered} DC_{m} = \frac{{(C_{dm} + C_{dme} )}}{T}\left[ {\int\limits_{0}^{{t_{1} }} {\left( {\theta_{0} - m(\xi )} \right)I_{m1} (t)e^{ - rt} dt + \int\limits_{{t_{1} }}^{T} {\left( {\theta_{0} - m(\xi )} \right)I_{m2} (t)e^{ - rt} dt} } } \right] \hfill \\ DC_{m} = \frac{{(C_{dm} + C_{dme} )}}{T}\left( {\theta_{0} - m(\xi )} \right)\left[ \begin{gathered} (P - D)\left( {\frac{{t_{1}^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)t_{1}^{3} }}{6} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)t_{1}^{3} }}{3}} \right) \hfill \\ {\text{ + D}}\left\{ \begin{gathered} \left( {\frac{{T^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)T^{3} }}{3} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)T^{3} }}{6}} \right){ - }\left( {Tt_{1} - \frac{{t_{1}^{2} }}{2}} \right) \hfill \\ { - }\frac{{\left( {\theta_{0} - m(\xi )} \right)}}{2}\left( {T^{2} t_{1} - \frac{{t_{1}^{3} }}{3}} \right) + \left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)\left( {\frac{{Tt_{1}^{2} }}{2} - \frac{{t_{1}^{3} }}{3}} \right) \hfill \\ \end{gathered} \right\} \hfill \\ \end{gathered} \right] \, \hfill \\ \end{gathered}$$
(4)

where \(C_{dme} = d_{me} T_{X}\) is carbon emission cost from deterioration of items.

5.1.4 Preservation technology cost

The preservation technology is applied to preserve the products from deterioration. Therefore, the preservation technology cost can be calculated as

$$PTC_{m} = \frac{1}{T}\int\limits_{0}^{T} {\xi e^{ - rt} dt} = \frac{\xi }{T}\left( {T - \frac{{rT^{2} }}{2}} \right)$$
(5)

5.1.5 Waste disposal cost

At the end of each production cycle, a certain amount of waste is produced and being disposed. Further, the cost of waste disposal activities directly affects the price of the products and consumer’s demand. Therefore, the waste disposal cost includes the fixed cost for disposing waste items in the form of garbage/ solid waste and the variable costs of solid waste emission.

$$WDC_{m} = \frac{1}{T}\left[ {C_{w} + C_{we} P\left( {t_{1} - \frac{{rt_{1}^{2} }}{2}} \right)} \right]$$
(6)

where \(C_{we} = wE_{mw} T_{X}\) is variable carbon emission cost generated from solid waste disposing.

5.1.6 Transportation cost

The producer’s logistic cost consists of fixed transportation cost, variable transportation cost, and carbon emission cost. The variable transportation cost depends on distance of product delivery, fuel consumption by vehicle, the additional fuel consumption per ton of payload, weight of product, delivered quantity, and fuel price. The carbon emission cost depends on the delivery distance, delivered quantity, and standard vehicle emission cost for product delivery \((e_{1} ,e_{2} ).\)

$$C_{TR} = \frac{1}{T}\left[ {C_{T} + C_{t} \left( {2dc_{1} + dc_{2} D\left( {T - \frac{{rT^{2} }}{2}} \right)} \right) + \left( {2de_{1} { + }de_{2} D\left( {T - \frac{{rT^{2} }}{2}} \right)} \right)} \right]$$
(7)

where \(e_{1} = F_{e} T_{X} {\text{ and }}e_{2} = F_{e} T_{X}\) is carbon emission cost from vehicle.

Hence,

$$TC_{m} = \frac{1}{T}\left\{ \begin{gathered} A_{m} + (C_{p} + C_{pe} )P\left( {t_{1} - \frac{{rt_{1}^{2} }}{2}} \right) + \xi \left( {T - \frac{{rT^{2} }}{2}} \right) + \left( {C_{w} + C_{we} P\left( {t_{1} - \frac{{rt_{1}^{2} }}{2}} \right)} \right) \hfill \\ + (C_{hm} + C_{hme} )\left( \begin{gathered} (P - D)\left( {\frac{{t_{1}^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)t_{1}^{3} }}{6} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)t_{1}^{3} }}{3}} \right) \hfill \\ {\text{ + D}}\left( \begin{gathered} \left( {\frac{{T^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)T^{3} }}{3} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)T^{3} }}{6}} \right){ - }\left( {Tt_{1} - \frac{{t_{1}^{2} }}{2}} \right) \hfill \\ { - }\frac{{\left( {\theta_{0} - m(\xi )} \right)}}{2}\left( {T^{2} t_{1} - \frac{{t_{1}^{3} }}{3}} \right) + \left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)\left( {\frac{{Tt_{1}^{2} }}{2} - \frac{{t_{1}^{3} }}{3}} \right) \hfill \\ \end{gathered} \right) \hfill \\ \end{gathered} \right) \hfill \\ + (C_{dm} + C_{dme} )\left( {\theta_{0} - m(\xi )} \right))\left( \begin{gathered} (P - D)\left( {\frac{{t_{1}^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)t_{1}^{3} }}{6} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)t_{1}^{3} }}{3}} \right) \hfill \\ {\text{ + D}}\left( \begin{gathered} \left( {\frac{{T^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)T^{3} }}{3} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)T^{3} }}{6}} \right){ - }\left( {Tt_{1} - \frac{{t_{1}^{2} }}{2}} \right) \hfill \\ { - }\frac{{\left( {\theta_{0} - m(\xi )} \right)}}{2}\left( {T^{2} t_{1} - \frac{{t_{1}^{3} }}{3}} \right) + \left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)\left( {\frac{{Tt_{1}^{2} }}{2} - \frac{{t_{1}^{3} }}{3}} \right) \hfill \\ \end{gathered} \right) \hfill \\ \end{gathered} \right) \hfill \\ + C_{T} + C_{t} \left( {2dc_{1} + dc_{2} D\left( {T - \frac{{rT^{2} }}{2}} \right)} \right) + \left( {2de_{1} { + }de_{2} D\left( {T - \frac{{rT^{2} }}{2}} \right)} \right) \, \hfill \\ \end{gathered} \right\} \,$$
(8)

The total carbon emission of the producer is

$$TE_{m} = \frac{1}{T}\left\{ \begin{gathered} e_{p} E_{e} P\left( {t_{1} - \frac{{rt_{1}^{2} }}{2}} \right) + wE_{mw} P\left( {t_{1} - \frac{{rt_{1}^{2} }}{2}} \right) + \left( {2dF_{e} { + }dF_{e} D\left( {T - \frac{{rT^{2} }}{2}} \right)} \right) \hfill \\ + w_{me} E_{e} \left( \begin{gathered} (P - D)\left( {\frac{{t_{1}^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)t_{1}^{3} }}{6} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)t_{1}^{3} }}{3}} \right) \hfill \\ {\text{ + D}}\left( \begin{gathered} \left( {\frac{{T^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)T^{3} }}{3} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)T^{3} }}{6}} \right){ - }\left( {Tt_{1} - \frac{{t_{1}^{2} }}{2}} \right) \hfill \\ { - }\frac{{\left( {\theta_{0} - m(\xi )} \right)}}{2}\left( {T^{2} t_{1} - \frac{{t_{1}^{3} }}{3}} \right) + \left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)\left( {\frac{{Tt_{1}^{2} }}{2} - \frac{{t_{1}^{3} }}{3}} \right) \hfill \\ \end{gathered} \right) \hfill \\ \end{gathered} \right) \hfill \\ + d_{me} \left( {\theta_{0} - m(\xi )} \right))\left( \begin{gathered} (P - D)\left( {\frac{{t_{1}^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)t_{1}^{3} }}{6} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)t_{1}^{3} }}{3}} \right) \hfill \\ {\text{ + D}}\left( \begin{gathered} \left( {\frac{{T^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)T^{3} }}{3} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)T^{3} }}{6}} \right){ - }\left( {Tt_{1} - \frac{{t_{1}^{2} }}{2}} \right) \hfill \\ { - }\frac{{\left( {\theta_{0} - m(\xi )} \right)}}{2}\left( {T^{2} t_{1} - \frac{{t_{1}^{3} }}{3}} \right) + \left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)\left( {\frac{{Tt_{1}^{2} }}{2} - \frac{{t_{1}^{3} }}{3}} \right) \hfill \\ \end{gathered} \right) \hfill \\ \end{gathered} \right) \hfill \\ \, \hfill \\ \end{gathered} \right\}$$
(9)

5.2 Supplier’s inventory model

The supplier’s inventory behaviour with time is represented in Fig. 3. Initially the inventory level is Qs and it starts declining due to the effect of deterioration rate and demand rate. Here, the producer supplies the inventory to the supplier in n different shipments.

Fig. 3
figure 3

Behaviour of the supplier’s inventory level versus time

Supplier’s total average cost is sum of ordering cost, holding cost, deterioration cost and preservation technology cost, therefore

$$TC_{s} = OC_{s} + HC_{s} + DC_{s} + PTC_{s}$$

In which.

5.2.1 Ordering cost

$$OC_{s} = \frac{{nA_{s} }}{T}$$
(10)

5.2.2 Holding cost

The holding cost includes warehousing costs and handling cost that remains unsold. Figure 3 shows that inventory or stock is carrying in the interval [0, v]. Therefore, the total holding cost per cycle with the effect of inflation and carbon emission cost can be formulated as

$$\begin{gathered} HC_{s} = \frac{{n(C_{hs} + C_{hse} )}}{T}\left[ {\int\limits_{0}^{v} {I_{s} (t)e^{ - rt} dt} } \right] \hfill \\ HC_{s} = \frac{{n(C_{hs} + C_{hse} )}}{T}\left[ {D\left\{ {\left( {\frac{{v^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)v^{3} }}{3} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)v^{3} }}{6}} \right)} \right\}} \right] \, \hfill \\ \end{gathered}$$
(11)

where \(C_{hse} = w_{se} E_{e} T_{X}\) is carbon emission cost generated by inventory warehousing activities.

5.2.3 Deterioration cost

From Fig. 3 it is seen that the deterioration of items happens during time [0, v]. Therefore, the total deterioration cost with the effect of inflation and carbon emission can be determined as

$$\begin{gathered} DC_{s} = \frac{{n(C_{ds} + C_{dse} )}}{T}\left[ {\int\limits_{0}^{v} {\left( {\theta_{0} - m(\xi )} \right)I_{s} (t)e^{ - rt} dt} } \right] \hfill \\ DC_{s} = \frac{{n(C_{hs} + C_{hse} )}}{T}\left[ {\left( {\theta_{0} - m(\xi )} \right)D\left\{ {\left( {\frac{{v^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)v^{3} }}{3} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)v^{3} }}{6}} \right)} \right\}} \right] \, \hfill \\ \end{gathered}$$
(12)

where \(C_{dse} = D_{se} T_{X}\) is carbon emission cost from deterioration of products.

5.2.4 Preservation technology cost

$$PTC_{s} = \frac{n}{T}\int\limits_{0}^{v} {\xi e^{ - rt} dt} = \frac{n\xi }{T}\left( {v - \frac{{rv^{2} }}{2}} \right)$$
(13)

Hence,

$$TC_{s} = \frac{1}{T}\left\{ \begin{gathered} nA_{s} + n(C_{hs} + C_{hse} )\left[ {D\left\{ {\left( {\frac{{v^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)v^{3} }}{3} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)v^{3} }}{6}} \right)} \right\}} \right] \hfill \\ n(C_{ds} + C_{dse} )\left[ {\left( {\theta_{0} - m(\xi )} \right)D\left\{ {\left( {\frac{{v^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)v^{3} }}{3} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)v^{3} }}{6}} \right)} \right\}} \right] \hfill \\ + n\xi \left( {v - \frac{{rv^{2} }}{2}} \right) \hfill \\ \end{gathered} \right.$$
(14)

Total carbon emission of the supplier is

$$TE_{s} = \frac{1}{T}\left\{ \begin{gathered} nw_{se} E_{e} \left[ {D\left\{ {\left( {\frac{{v^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)v^{3} }}{3} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)v^{3} }}{6}} \right)} \right\}} \right] \hfill \\ nD_{se} \left[ {\left( {\theta_{0} - m(\xi )} \right)D\left\{ {\left( {\frac{{v^{2} }}{2} + \frac{{\left( {\theta_{0} - m(\xi )} \right)v^{3} }}{3} - \frac{{\left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)v^{3} }}{6}} \right)} \right\}} \right] \hfill \\ \end{gathered} \right. \,$$
(15)

Now based on the permissible delay period allowed to supplier three cases arises:

Case I: When \(N_{s} \le M_{s} \le v + N_{s}\).

In this case, the TCP offered by the supplier to his customers is much lower than the TCP proposed by the producer to the supplier. Following receipt of the revenue, the supplier earns interest on the average sales revenue over the time period \((M_{s} - N_{s} )\). The finances are arranged so that the payment to the producer is made on time \(M_{s}\). Figure 4 (4.1) depicts it.

Fig. 4
figure 4

(4.1) Revenue level v/s time. (4.2) Revenue level v/s time. (4.3) Revenue level v/s time

Interest earned for items can be expressed as:

$$IE_{s1} = \frac{{nI_{e} \rho }}{T}\int\limits_{{N_{s} }}^{{M_{s} }} {De^{ - rt} dt = } \frac{{nI_{e} \rho }}{T}D\left[ {(M_{s} - N_{s} ) - \frac{r}{2}(M_{s}^{2} - N_{s}^{2} )} \right] \,$$

Interest payable for items can be expressed as:

$$IP_{s1} = \frac{{nI_{p} c}}{T}\int\limits_{{M_{s} }}^{{N_{s} + T}} {I_{s} (t)e^{ - rt} dt}$$
(16)
$$= \frac{{nI_{p} cD}}{T}\left[ \begin{gathered} \left( {v(N_{s} + T) - \frac{{(N_{s} + T)^{2} }}{2} - vM_{s} + \frac{{M_{s}^{2} }}{2}} \right) + \frac{{\left( {\theta_{0} - m(\xi )} \right)}}{2}\left( {v^{2} (N_{s} + T) - \frac{{(N_{s} + T)^{3} }}{3} - v^{2} M_{s} + \frac{{M_{s}^{3} }}{3}} \right) \hfill \\ - \left( {r + \left( {\theta_{0} - m(\xi )} \right)} \right)\left( {\frac{{v(N_{s} + T)^{2} }}{2} - \frac{{(N_{s} + T)^{3} }}{3} - \frac{{vM_{s}^{2} }}{2} + \frac{{M_{s}^{3} }}{3}} \right) \hfill \\ \end{gathered} \right]$$
(17)

Total cost TCs1 for the supplier.

\(TC_{s1} = TC_{s} + IP_{s1} - IE_{s1}\) [See Appendix 3].

Case II: When \(N_{s} \le v + N_{s} \le M_{s}\).

In this case, TCP offered by the producer to the supplier is more than the cycle length of the supplier and the TCP provided by the supplier to his customers, and the supplier earns interest on the received average sales revenue during \((N_{s} ,v + N_{s} )\) and on total sales revenue for \((M_{s} - (v + N_{s} ))\), but there is no interest payable by the supplier. Figure 4 (4.2) depicts it.

Interest earned for items can be expressed as:

$$\begin{aligned} IE_{s2} & = \frac{{nI_{e} \rho }}{T}\left[ {\int\limits_{{N_{s} }}^{{v + N_{s} }} {De^{ - rt} dt} + Dv\int\limits_{{v + N_{s} }}^{{M_{s} }} {e^{ - rt} dt} } \right] \\ = \frac{{nI_{e} \rho D}}{T}\left[ {\left( {(v + N_{s} ) - \frac{r}{2}(v + N_{s} )^{2} } \right) + v\left( {M_{s} - \frac{r}{2}M_{s}^{2} - (v + N_{s} ) + \frac{r}{2}(v + N_{s} )^{2} } \right)} \right] \\ \end{aligned}$$
(18)

Total cost TCs2 for the supplier.

\(TC_{s2} = TC_{s} - IE_{s2}\) [See Appendix 4].

Case III: When \(M_{s} \le N_{s} \le v + N_{s}\).

In this case, TCP offered by the supplier to his customers is greater than the period provided by the producer to the supplier, and the supplier has no interest, but pays interest on the full order of products for a time \((N_{s} - M_{s} )\) and average product held during the cycle “v”. Figure 4 (4.3) depicts it.

$$\begin{aligned} IP_{s3} & = \frac{{nI_{p} c}}{T}\left[ {Dv(N_{s} - M_{s} ) + \int\limits_{{N_{s} }}^{{v + N_{s} }} {De^{ - rt} dt} } \right] \\ = \frac{{nI_{p} cD}}{T}\left[ {v(N_{s} - M_{s} ) + (v + N_{s} ) + \frac{r}{2}N_{s}^{2} - N_{s} - \frac{r}{2}(v + N_{s} )^{2} } \right] \, \\ \end{aligned}$$
(19)

Total cost TCs3 for the supplier.

\(TC_{s3} = TC_{s} + IP_{s3}\) [See Appendix 5].

5.3 Integrated cost function for two- echelon supply chain

Finally, the joint total cost for integrated system is sum of producer’s total cost and supplier’s total cost in various cases, and can be developed as:

$$TIC(t_{1} ,\xi ) = \left\{ \begin{gathered} TIC_{1} (t_{1} ,\xi ) = TC_{m} + TC_{s1} ,N_{s} \le M_{s} \le v + N_{s} \hfill \\ TIC_{2} (t_{1} ,\xi ) = TC_{m} + TC_{s2} ,N_{s} \le v + N_{s} \le M_{s} \hfill \\ TIC_{3} (t_{1} ,\xi ) = TC_{m} + TC_{s3} ,M_{s} \le N_{s} \le v + N_{s} \hfill \\ \end{gathered} \right.$$
(20)

The detailed expression of \(TIC_{1} (t_{1} ,\xi )\), \(TIC_{2} (t_{1} ,\xi )\) and \(TIC_{3} (t_{1} ,\xi )\) are given in Appendix 6, 7, and 8, respectively.

5.4 Total carbon emission of the integrated system

\(TE = TE_{m} + TE_{s}\) [See Appendix 9].

6 Solution procedure

The integrated total cost in each case is function of two variables \(t_{1}\) and \(\xi\). The objective of this model is to minimise total cost where \(t_{1} > 0\) and \(\xi > 0\). To minimise total cost function with respect to cycle time \(t_{1}\) and preservation technology cost \(\xi\), the necessary conditions are \(\frac{\partial TIC}{{\partial t_{1} }} = 0\) and \(\frac{\partial TIC}{{\partial \xi }} = 0\).

To determine the optimal value of the decision variables, the convexity of total cost function should satisfy. As total cost function is non-linear, we prove the convexity of \(TIC(t_{1} ,\xi )\) empirically in Appendix 10.

7 Numerical analysis

The proposed model can be illustrated using the numerical example from Daryanto et al. [42] and Shah et al. [9] with some modification.

$$\begin{gathered} A_{m} = \$ 200/setup,C_{p} = \$ 200/unit/week,C_{pe} = 2.472,C_{hm} = \$ 0.5/unit/week,w_{me} = 14.4, \hfill \\ C_{dm} = \$ 100/unit/week,D_{me} = 0.0012,P = 200units,D = 150units,r = 0.01,\lambda = 0.03,C_{w} = 100, \hfill \\ C_{we} = 0.1854,\theta_{0} = 0.6,C_{T} = 100,C_{t} = 0.01,d = 400km,c_{1} = 30,c_{2} = 0.36,F_{e} = 0.0026,T_{X} = 61.8, \hfill \\ A_{s} = \$ 300/order,C_{hs} = \$ 3/unit/weeks,w_{se} = 14.4,C_{ds} = \$ 120/unit/week,D_{se} = 0.0012, \hfill \\ I_{e} = 0.15,I_{p} = 0.10,c = 5,\rho = 11,E_{e} = 0.0005,N_{s} = 3weeks,M_{s} = 5weeks,n = 2,T = 6weeks \hfill \\ \end{gathered}$$

Using above numerical values of inventory parameters, an optimum solution for the proposed model is presented in Table 3.

Table 3 Optimum solution

From above Table 3, it is clear that minimum total cost of the proposed model is obtained from Case 3 (\(M_{s} \le N_{s} \le v + N_{s}\)). Therefore, the optimal value of \(t_{1} * = 2.7163weeks\), preservation technology cost ξ* = 33.288$, minimum total cost TIC3* = 34450.6$ and total carbon emission \(TE = 82.6tonCO_{2} /time\). All these results are obtained by adopting mathematical software Mathematica 11.3. Convexity for different cases of trade credit is shown in Figs. 5, 6 and 7.

Fig. 5
figure 5

Convexity of total cost when \(N_{s} \le M_{s} \le v + N_{s}\)

Fig. 6
figure 6

Convexity of total cost when \(N_{s} \le v + N_{s} \le M_{s}\)

Fig. 7
figure 7

Convexity of total cost when \(M_{s} \le N_{s} \le v + N_{s}\)

Now, we validate our numerical through sufficient condition which is

$$\left( {\frac{{\partial^{2} TIC}}{{\partial t_{1}^{2} }}} \right) = 1540.76 > 0, \, \left( {\frac{{\partial^{2} TIC}}{{\partial \xi^{2} }}} \right) = 32.2937 > 0 \,$$

and \(\left( {\frac{{\partial^{2} TIC}}{{\partial t_{1}^{2} }}} \right)\left( {\frac{{\partial^{2} TIC}}{{\partial \xi^{2} }}} \right) - \left( {\frac{{\partial^{2} TIC}}{{\partial t_{1} \partial \xi }}} \right)^{2} = 49756.55 > 0 \,\).

Therefore, the optimum solution is unique.

8 Sensitivity analysis

To get more insight in terms of total cost function, a sensitivity analysis is performed by changing the value of one parameter by \(\pm 10\%\) and \(\pm 20\%\). Results are shown in Table 4. For the analysis, we calculate the percentage change in the total cost with the following equation:

$$\% TIC_{3} = \frac{{TIC_{3} - TIC_{3}^{*} }}{{TIC_{3}^{*} }} \times 100$$
Table 4 Sensitivity analysis

9 Result and discussion

The following results can be identified from the sensitivity analysis.

  1. 1.

    If the production rate \(P\) and production cost \({C}_{p}\) increase, then total cost and preservation technology cost both will increase, while the production time decreases. As a result, manufacturers must consider flexible manufacturing in order to make better supply chain decisions.

  2. 2.

    It is cleared from Table 4 that an increasing demand rate \(D\) of products leads to the increase of \({t}_{1}\), \(\xi\) and \({TIC}_{3}\). It expresses that when the demand rate increases the cycle time will also increase, and as a result, the organization is more likely to order more products. A high demand rate indicates that the product is of high quality, promoting the organisation to increase preservation investment in order to reduce deterioration rate.

  3. 3.

    When the deterioration rate \({\theta }_{0}\) increases then critical time and total cost both are increasing and preservation technology cost is constant.

  4. 4.

    If the setup cost \({A}_{m}\) increases, then critical time and preservation cost both remain fixed, while total cost is slightly increasing.

  5. 5.

    The change in parameter (\(\lambda\)) decrease both total cost and preservation technology cost at constant time.

  6. 6.

    The change in inflation rate r decreases total cost and increases time at constant preservation technology cost. Therefore, keeping the inflation rate into consideration is a good strategy for a realistic model as well as to reduce the total cost.

  7. 7.

    The change in warehouse energy consumption (\({w}_{me}\), \({w}_{se}\)), emission from deterioration (\({d}_{me}\), \({d}_{se}\)), weight of solid waste disposal (w), and fixed transportation cost (\(C_{T}\)) have a significant effect on total cost. These parameters are related to carbon emissions from energy consumption, waste disposal and transportation. Therefore, these parameters need to be carefully controlled to promote sustainable system when modelling, in order to reduce total cost as well carbon emission cost.

  8. 8.

    The variable transportation cost (\(C_{t}\)), delivery distance (d), consumption of fuel (\(c_{1} ,c_{2}\)), and vehicle’s emission (\(F_{e}\)) are significant to total cost while other decision variables \(t_{1}\) and \(\xi\) remain constant. These variables are related to transportation cost. As a result, in order to maintain lower transportation cost, these parameters must be carefully controlled within a supply chain.

  9. 9.

    The total integrated cost is sensitive to the change in supplier’s ordering cost (\(A_{s}\)), holding cost (\(C_{hm} ,C_{hs}\)), and deterioration cost (\(C_{dm}\)). Therefore, reduction of these costs must be needed to reduce the inventory cost.

  10. 10.

    If the interest paid rate (\(I_{p}\)) increases then the total integrated cost decreases while other decision variables \(t_{1}\) and \(\xi\) remain same.

9.1 Managerial insights

  • The supply chain can benefit from making decisions to advance inventory management by taking the cost of carbon emissions into account. The production rate highly affects the total cost. As a result, when modelling, decision maker needs to choose flexible manufacturing. Sensitivity analysis has revealed that as production rate increases, so does the total integrated cost of this model.

  • On the other hand, investment in preservation technology also helps to reduce deterioration rate.

  • By taking into account carbon emissions, waste disposal cost along with transportation cost, the supply chain manager can help the decision maker for making ecological system. The outcome provides a supply chain manager with managerial insight into controlling carbon emission costs.

  • Further, when interest paid rate (\(I_{p}\)) increases then total integrated cost decreases. Hence, trade credit policy encourage customer to buy quantities in bulk and minimizes total cost at the same time.

10 Conclusion

In this study, we proposed an integrated two-echelon green supply chain inventory model by extending recent studies on low carbon supply chain and inventory models. The proposed model incorporates the effect of environmental carbon emission cost, preservation technology investment, inflation, and trade credit period. Production activities, warehousing, keeping deteriorating items, waste disposal, and transportation can create carbon emissions. A mathematical model integrates a single producer and single supplier to optimize preservation investment and optimal time for minimizing the joint total economic cost and environmental carbon emission. The present model shows advantage of coordination and integration among producer and supplier in reducing environmental carbon emission. This model is based on the inventory management theory; and examined how all optimal decision variables and the supply chain’s total cost are affected by critical parameters. Using numerical example, we have shown that out of all cases based on trade credit the total integrated cost is minimum when \(M_{s} \le N_{s} \le v + N_{s}\). From sensitivity analysis it is obtained that the decision-maker/supply chain manager should give more attention for reducing production cost, setup cost, ordering cost and deteriorating cost.

For future one can extend this model by using probabilistic demand such as market trended price-sensitive demand, advertisement dependent demand, credit linked demand etc. Carbon tariff system such as carbon cap or a cap-and-trade system can be other possible extension. Also, this work can be extended by considering back ordering policy.