Optimizing a Sustainable Supply Chain Inventory Model for Controllable Deterioration and Emission Rates in a Greenhouse Farm

: This study investigated how greenhouse managers should invest in preservation and green technologies and introduce trade credit to increase their proﬁts. We propose a supply chain inventory model with controllable deterioration and emission rates under payment schemes for shortage and surplus, where demand depends on price and trade credit. Carbon emissions and deterioration are factors affecting global warming, and many greenhouse managers have focused on reducing carbon emissions. Carbon caps and tax-based incentives have been used in many greenhouses to achieve such reduction. Because of the importance of reducing carbon emissions for developing a green supply chain, various studies have investigated how ﬁrms deal with carbon emission constraints. In this continuation, we have used green technology to curb the excessive emissions from the environment or make it clean from CO 2 . In a seller–buyer relationship, the seller can offer a trade credit period to the buyer to manage stock and stimulate demand. Deterioration may become a challenge for most ﬁrms as they are under time constraints control, and preservation technology could help. This study proposes three novel inventory strategies for a sustainable supply chain (full backorder, partial backorder, and no backorder), linking all these important issues. The solution optimizes total annual proﬁt for inventory shortage or surplus. We conducted a numerical study with three examples to evaluate the model’s authenticity and effectiveness and demonstrate the solution technique. The deterioration and emission rates can be included in a trade credit policy to increase greenhouse proﬁts. The results suggest that greenhouse managers could apply the proposed model to manage real-world situations.


Introduction
The sustainable supply chain is becoming an emerging concern in today's competitive business. A business is called sustainable when the three attributes: economy, environmental, and social parallel any business [1]. The present world focuses on environmental issues as the emissions of CO 2 have increased significantly due to industrialization worldwide. To smoothly and efficiently run an industry, many different types of energy are required (e.g., electrical energy, solar energy, etc.). In Germany, electrical energy accounts for 47% Mathematics 2021, 9,495 2 of 23 of total energy consumption. In the United States, the manufacturing sector contributes approximately 33% of the total energy consumption and 28% greenhouse gas emissions. Established economies have substantial but declining carbon emissions; by contrast, the carbon emissions in emerging economies have rapidly increased. Asian countries, such as China, India, Japan, South Korea, Iran, Saudi Arabia, Indonesia, and Taiwan, are among the top 20 CO 2 emitters. Sustainable development is the optimal approach for emerging economy growth [2], and it mainly depends on proper environmental management. According to the Intergovernmental Panel on Climate Change, global warming caused by excessive carbon emissions has a massive impact on the environment [3]. Many developing countries have promoted emission conventions (e.g., cap and trade) to reduce emissions and have introduced high technology equipment [4] because increasing demand always results in a dynamic supply chain and maximum carbon dioxide emissions. When managing a dynamic supply chain, considering joint credit and replenishment policies is essential for dealing with decaying items with conservational disputes because environmental policies affect business decisions. Many researchers have discussed sustainable supply chain inventory (SSCI) models for product deterioration with credit policy strategies [5][6][7], but few studies have considered trade credit risk policy under environmental disputes. Deterioration and emissions are natural processes that reduce a product's effectiveness. In greenhouses, most products, such as vegetables and flowers, naturally deteriorate over time. To reduce carbon emissions, greenhouse managers can apply green technology investment. Therefore, inventory deterioration and environmental emissions should be reduced through investment in high-quality preservation technology (PRT) and green technology (GRT), respectively.
However, the conventional economic order quantity (EOQ) model undertakes minimum total cost for maximum profits. Demand among retailers requires determination of the credit period, and selling price determination requires thoughtful consideration of demand among retailers because the effect of the credit period on sales is minimal relative to that of unfulfilled demand [8]. A balance between the credit period and selling price yields additional profit. Johari et al. [9] developed an inventory model highlighting the real-world value of determining the credit period and selling price based on demand. The sensitivity of price to consumer demand causes the wholesale selling price to change with changes in demand. Therefore, pricing decisions and financing affect the demand rate and the inventory scheme. Implementing an optimal pricing policy yields profits for supply chain members and customers, with customers enjoying lower prices and supply chain members benefiting from higher demand. Johari et al. [9] revealed that these decisions have a downstream effect on the upstream chain members' profitability, with demand determined based on price.
Cheraghalipour and Farsad [10] studied a bi-objective supplier chain with two quantity discounts under the risk of disruption. They proved that disruption risks and quantity discounts are applicable in real-world situations. Furthermore, suppliers prefer extended credit periods because this can improve sales. Moreover, this increases retailers' capital and default risk rate, as proposed in [5]. Therefore, coordination is required to increase supply chain profitability. In a conventional model, a retailer places an order, followed by the purchase cost payment. Sometimes, the supplier may require the buyer to reimburse them before the delivery date (known as advance payment), reducing the probability of order cancellation and enabling smooth goods management [11,12]. However, Lashgari et al. [13] indicated that the seller might offer a delayed payment to their buyers to stimulate sales. The present study investigated some common marketing policies, such as advanced and delayed payments to boost trade. Trade credit policy is widely considered a valuable technique for increasing sales or reducing on-hand inventory [14]. It inspires buyers to increase their orders by reducing their capital assets. The primary role of advanced payment is to increase sales and profits. Consumers are generally likely to reimburse the purchasing cost as advanced prepayments and attempt to achieve the supplier's accommodating profit Mathematics 2021, 9,495 3 of 23 when the interest earned differs from banks' interest rates. It is necessary to complete the supplier's process to obtain a portion of the purchasing cost in advance. This process ensures that the buyer places orders to the supplier.
Several researchers have developed SSCI models with attributes including backorders, preservation technology, green technology, delayed payments, and advanced payments. However, no studies have provided a model to explore the effects of PRT and GRT investment on deterioration and emissions rates when demand depends on trade credit and price with default risk under various backorder cases. This study is intended to formulate an SSCI model that considers preservation and carbon emission reductions under various shortage conditions. The main aims of this study are as follows: (1) To investigate the simultaneous investment in PRT and GRT for credit-linked pricedependent demand; (2) To reveal how retailers could invest in PRT and GRT to optimize deterioration and carbon emission rates; (3) Explore the effects of backorder cases on the retail industry under various pricing strategies.
The remainder of this paper's organization is as follows: Section 2 reveals a research gap based on a review of the literature; Section 3 details the model formulation; Section 4 provides several numerical examples, explores the results, reports a sensitivity analysis, and lists managerial implications; and Section 5 concludes the study with some limitations and suggestions for future work.

Literature Review and Methods
In this section, a brief literature review on relevant studies has been provided at Section 2.1 and a case background has been provided at Section 2.2.

Literature Review
This study explores (1) an SSCI model with trade credit risk and (2) applying the SSCI model to environmental issues. The first part of this literature review discusses studies that assume price, trade credit, deterioration, demand, and default risk linked to particular credit period functions. The second part of the literature review introduces studies controlling deterioration and greenhouse emission rates.
Deterioration affects inventory management for spoilable products such as vegetables, fruits, greenhouse flowers, gasoline, and chemical products. Contemporary research has widely investigated this type of inventory model. Chen and Teng [8] presented the concept of deterioration through their model, in which the deterioration rate was constant. In this context, Bakker et al. [15] conducted a comprehensive review on deterioration from 1990 to 2011. In modern business, the retailer commonly uses trade credit to attract customers. Chen and Teng [8] introduced an inventory model in which the demand depends on the link between the selling price and credit. The general formula was better than the conventional EOQ inventory model in which demand depends on stock. Continuous resupply for deteriorating items applies to a firm's net present value for its future cash flow [16].
Sustainability is a crucial policy for economic growth. Ghosh et al. [17] developed a lotsizing model for stochastic demand under a strict carbon-cap policy. They determined the optimal order quantity by observing the effects of carbon trading, carbon prices, and carbon caps on total inventory costs, carbon emissions, and related decisions. Emission rates are controllable by using special equipment. The present study examined greenhouse farms in which the operation of some equipment results in high emissions. Greenhouse firms can use technology investment to reduce emission rates. Several studies have reported that emission rates are controllable by using inventory policies [4,17].
Growing the economy to boost customer demand is a challenging task for retailers and suppliers. Zhang et al. [18] developed an EOQ model with an advanced payment system, and Taleizadeh [19] provided a model that considers multiple prepayments and constant deterioration. Subsequently, Zia and Taleizadeh [20] attempted to combine partial prepayment with delayed payment based on inventory order quantity. Tavakoli and Taleizadeh [21] studied an inventory policy with a full prepayment scheme for deteriorating items, and Teng et al. [11] considered an inventory model with prepayment and planned backorders. Lashgari et al. [13] modified the concept of full prepayment and studied partial upstream advanced prepayments with trade credit for a three-level supply chain. Shah et al. [22] modified the model developed by Teng et al. [11] by applying a fixed rate of deterioration or no deterioration. Taleizadeh et al. [23] introduced a model for backorder prediction under an advanced payment scheme.
Notably, although trade credit policies increase sales, an extended credit period increases the default risk. Therefore, Dye and Yang [5] studied an inventory policy with default risk in the case of partial backlogging. Roghanian and Cheraghalipour [24] developed a metaheuristic to solve a multi-objective model in a closed-loop supply chain by assuming emission levels to maximize demand reactivity and minimize total costs and carbon emissions. Taleizadeh et al. [25] developed a pricing decision model for planned discounts and partial backorders to maximize profit without additional investments. In a sustainable production model, Taleizadeh et al. [26] considered emission costs and shortages to maximize profit without additional investments.
Moreover, Tiwari et al. [27] identified the optimal sustainable approach given credit policy and shortages of all items while minimizing total cost. After that, Tiwari et al. [28] and Mashud et al. [29] established a sustainable inventory system with imperfect item quality and deterioration, which minimized the carbon emission costs and total inventory costs. Based on emissions trading, Kumar and Uthayakumar [30] formulated a vendormanaged inventory decision model with unequal and equal shipments with an objective function maximized for various carbon cap trade policies. Ebrahimi [31] developed a stochastic multi-objective allocation-location-routing model to improve sustainability with quantity discounts. Wang et al. [32] studied pricing models for a sustainable supply chain with constraint capacity for deriving the recycling, pricing, and remanufacturing schemes. Wang et al. [33] introduced a sustainable supply chain management and inventory model without emission control that minimized costs, including environmental emissions costs. Gharaei et al. [34] investigated a multi-buyer supply chain, multi-product, green product, and quality control policies for a vendor's inventory problem with a shipment stock contract. They derived an outer estimate design with relaxation equality and a penalty algorithm. Recently, Mishra et al. [12] investigated a sustainable inventory problem with controlled deterioration and environmental emission rates, but they did not include various backorder conditions.
Researchers have assumed constant deterioration or a variable deterioration rate that is controllable by using special equipment. Kumar et al. [35] analyzed a production system with a trade credit policy, preservation technology, and an emissions regulation policy. They incorporated trade credit, but they did not assume that credit was linked to demand with default risk. By contrast, Mohanty et al. [36] investigated trade credit policies for a deteriorating product system with preservation technology, but they did not consider an emissions regulation policy. Several recent articles on supply chain management have explored the adoption of technology to reduce the deterioration rate. Zilberman et al. [37] investigated the effect of market power on supply chain efficiency. Du et al. [38] explored how risk influences the supply chain design, and Lu et al. [39] discussed reducing the adoption threshold in a rental market. The present study contributes to the literature by investigating greenhouse managers' decisions regarding PRT and GRT investment in a trade credit system. Mashud et al. [40] presented a model for deteriorating items in the newsboy problem with delivery strategy. Baek et al. [41] anticipated a model considering carbon emissions with a discount policy. They investigated an order allocation problem for a large-scale supplier selection process. Sett et al. [42] developed an inventory model with price, quality of products, and service-dependent demand for the O2O model. Vishkaei et al. [43] developed a retailer inventory system where the inspection system's reliabil- ity affects the percentage of defective items delivered to final customers. Esmaeili and Nasrabadi [44] studied an inventory model for the single-vendor multi-retailer supply chain under inflationary conditions and trade credit policy. Taghizadeh-Yazdi et al. [45] studied an integrated inventory system for multi-echelon supply chains with deteriorating items under a price-dependent demand approach. This study proposes a supply chain inventory model with controllable deterioration and emissions rates under payment schemes for shortage or surplus where demand depends on price and trade credit policy.

Case Background
This study's assumptions are implementable in various realistic scenarios. For example, in the greenhouse flower industry, stock levels of flowers should be sufficient to satisfy demand ( Figure 1) [46]. Greenhouse flowers are not available everywhere, and their demand depends on trade credit, price, and default risk. Therefore, consumers pay attention to the minimum price when considering whether to buy more flowers. Greenhouse managers should use an inventory management system to control deterioration and emissions. Some greenhouse flowers are not available in summertime. Therefore, greenhouse managers can use PRT to lower the greenhouse temperature and thus reduce emissions and deterioration. Deterioration and emissions reduce the expediency and efficacy of a product relative to its initial state. Decreasing the rates of deterioration and emission by investing in PRT and GRT is vital. Such high-quality equipment can be purchased based on consumer prepayments and trade-credit-linked price-dependent demand. Therefore, in conducting this study, we were mindful that controllable deterioration and emission rates are not generally considered concerning consumer prepayments and trade-credit-linked price-dependent demand with default risk under various shortage issues. for a large-scale supplier selection process. Sett et al. [42] developed an inventory model with price, quality of products, and service-dependent demand for the O2O model. Vishkaei et al. [43] developed a retailer inventory system where the inspection system's reliability affects the percentage of defective items delivered to final customers. Esmaeili and Nasrabadi [44] studied an inventory model for the single-vendor multi-retailer supply chain under inflationary conditions and trade credit policy. Taghizadeh-Yazdi et al. [45] studied an integrated inventory system for multi-echelon supply chains with deteriorating items under a price-dependent demand approach. This study proposes a supply chain inventory model with controllable deterioration and emissions rates under payment schemes for shortage or surplus where demand depends on price and trade credit policy.

Case Background
This study's assumptions are implementable in various realistic scenarios. For example, in the greenhouse flower industry, stock levels of flowers should be sufficient to satisfy demand ( Figure 1) [46]. Greenhouse flowers are not available everywhere, and their demand depends on trade credit, price, and default risk. Therefore, consumers pay attention to the minimum price when considering whether to buy more flowers. Greenhouse managers should use an inventory management system to control deterioration and emissions. Some greenhouse flowers are not available in summertime. Therefore, greenhouse managers can use PRT to lower the greenhouse temperature and thus reduce emissions and deterioration. Deterioration and emissions reduce the expediency and efficacy of a product relative to its initial state. Decreasing the rates of deterioration and emission by investing in PRT and GRT is vital. Such high-quality equipment can be purchased based on consumer prepayments and trade-credit-linked price-dependent demand. Therefore, in conducting this study, we were mindful that controllable deterioration and emission rates are not generally considered concerning consumer prepayments and trade-creditlinked price-dependent demand with default risk under various shortage issues.

Model Formulation
This study developed an SSCI model for a supplier, a retailer, and customers under controlled item deterioration and carbon emission rates (Appendix A lists the notations used for formulating the inventory models). The supplier offers a prepayment policy to the retailer. Thus, the retailer pays a percentage of the supplier's acquisition cost when

Model Formulation
This study developed an SSCI model for a supplier, a retailer, and customers under controlled item deterioration and carbon emission rates (Appendix A lists the notations used for formulating the inventory models). The supplier offers a prepayment policy to the retailer. Thus, the retailer pays a percentage of the supplier's acquisition cost when placing the order and pays the remainder through multiple equally spaced installments within the permitted lead time. This strategy helps the retailer to increase capital costs because of the interest accrued on these items. Moreover, customers pay retailers a percentage of the purchase cost within a specific time (the trade-credit period), which is shorter than the lead time of the supplier's advanced payments; the retailer adopts this strategy to attract customers.
The study scenario is particularly relevant to situations where a supplier requests that a retailer provide advanced sales payment depending on the selling price. The retailer must prepay some portion of the purchasing cost, and the payment is complete through multiple installments. In this situation, the retailer may obtain a loan from a financial institution, such as a bank, to make advanced payments. Then, the retailer repays the loan using revenue from product sales. We considered three types of SSCI to investigate capital investments' consequences for reducing product deterioration and environmental emissions. Retailers should begin to repay their loans when obtaining revenue from customers. The proposed model comprises the following three conditions: (1) partial backorders, (2) full backorders, and (3) no backorders. This study aims to formulate an SSCI model with controlled deterioration and carbon emission rates and determine capital investments' productivity.
The proposed SSCI model comprises the following two circumstances: (i) with shortages (i.e., partial and full backorders) and (ii) without shortages. The following assumptions are adopted: 1.
The model includes a single deteriorating product.

2.
The upstream side of the supply chain includes trade credit.

3.
The downstream side of the supply chain includes a prepayment scheme.
The horizon is finite. 7.
Product shortage includes partial and full backorders. 8.
Demand D(p, M) = (a − bp)e ζ M is a function of trade credit and selling price, where p is selling price, M is the trade credit period, a is the demand scale, b represents price sensitivity, p < a b , 0 ≤ ζ < 1, and a > 0, b > 0 [9,47]. 9.
The default risk rate for the credit period is F(M) = 1 − e −φM [5,48]. 10. The retailer's opportunity cost for a trade credit period is e −rM , where r denotes the interest of the opportunity cost (r > 0) [3,42]. 11. Deteriorated items have no value. 12. Deterioration rates are controllable through PRT investment [49]. 13. The deterioration rate λ(P) = λ 0 e −uP is a concave and continuous function of the retailer's total capital investment [46]. 14. The cost of carbon emissions includes three components: replenishment, storage, and environmental impact. The detailed derivation is provided in Section 3.

A portion of the decrease of normal emissions is given by
In Sections 3.1-3.3, we interpret the distinct SSCI models.

SSCI Model with Partial Backorders
During product shortages, customers may not wish to pay for backorders and wait to obtain the product at the following replenishment point. For example, a customer may visit a greenhouse to purchase flowers or plants during a product shortage. If the customer is willing to place a backorder, the greenhouse manager can inform the customer of the replenishment date, as assumed in the existing EOQ model with partial backorders. In the model developed by Mishra et al. [10] and Taleizadeh et al. [25], the retailer prepays the supplier kcQ in advance of the delivery time through R equivalent installments during L years ( Figure 2). The retailer pays the remaining balance (1 − k)cQ after receiving the Q ordered units. The stock level reaches zero at time T in arrears to both demand D(p, M) and deterioration rate λ(P). In this model, shortages and full backorders are accrued during the period [αT, T]. the supplier kcQ in advance of the delivery time through R equivalent installments during L years ( Figure 2). The retailer pays the remaining balance (1 )  The differential equation of the inventory level at the time t is given as follows: with the boundary condition ( ) 0 I T α = , Equation (1) yields the following solution: The partial backorder quantity is lost sales quantity is Thus, the order quantity per cycle length is given as The following components comprise the total annual profit. The total discounted retailer's sales revenue given a default risk is given as follows: The differential equation of the inventory level at the time t is given as follows: with the boundary condition I(αT) = 0, Equation (1) yields the following solution: The partial backorder quantity is BQ = ηD(p, M)(1 − α)T, for 0 < η < 1, and lost sales quantity is LQ = (1 − η)D(p, M)(1 − α)T, for 0 < η < 1. Thus, the order quantity per cycle length is given as The following components comprise the total annual profit. The total discounted retailer's sales revenue given a default risk is given as follows: The ordering cost is Per replenishment cycle, the cost of purchasing products follows: During the interval [0, αT], the holding cost is presented as follows: The capital cost per cycle is as follows: In this study, we determined the cost of the retailer's capital investment due to delayed payment. If the retailer's time limit is M and the cycle time is αT, then two situations are considered: (1) αT < M and (2) αT > M [22]. Therefore, the yearly cost of capital investment due to delayed payment is The backorder cost per cycle is The lost sales cost per cycle is The PRT investment for controlling the deterioration rate is The cost of carbon emissions comprises replenishment, storage, and environmental impact costs. The delivery frequency for replenishment is given by Storage is Environment impact is The maximum amount of carbon that can be entered into the carbon trading market is Annual carbon emissions during the cycle are Capital investment in green technology is presented as follows: The total annual carbon tax per unit time in a cycle is The GRT investment for controlling the emission rate is Taking these items together, the annual profit is Therefore, the following nonlinear optimization problem is established: For small values of λ(P) and αT, the Taylor series expansion e λ(P)αT ≈ 1 + λ(P)αT + [λ(P)αT] 2 2 can be substituted into Equation (21) [37,43]. Then, the objective function is reformulated as Because TP(T, α, P, G, p) is nonlinear, concavity cannot be jointly proven for T, α, P, G, p. Because the primary focus of this study was to evaluate P and G, we only proved the concavity for P and G, and all other variables were kept constant.

SSCI Model with Full Backorders
For this model, all derivations are the same as those in Section 3.1, except that η = 1. Therefore, CLS = 0. Hence, Equation (22) can be rewritten for this model as follows: Theorem 2. The profit function in Equation (24) is concave with regard to P and G for fixed T, α, and p.

SSCI Model without Backorders
For this model, all derivations are the same as those in Section 3.1, except that α = 1 and η = 1. Therefore, BC = 0 and CLS = 0. Hence, Equation (22) Theorem 3. The profit function in Equation (26) is concave with regard to P and G for a fixed T and p. • If PRT and GRT investment costs are 0 and there is no carbon tax, carbon emissions cap, scrap price, goodwill loss, or price-dependent credit demand policy, this model is the same as the conventional Economic Production Quantity (EPQ) model.

Real Case Background with Links to Contributions
Carbon emissions are a factor contributing to global warming. Greenhouse managers have focused on reducing carbon emissions. Many greenhouse managers have used carbon caps and tax-based policies to achieve such reductions. Greenhouse firms must engage with regulations to reduce carbon emissions by developing a green supply chain. In a seller-buyer relationship, the seller can offer a trade credit period to the buyer to manage stock and demand changes. In a competitive marketplace, boosting demand depends on features, such as sale price, length of credit period, and customers' environmental consciousness. Item deterioration is a challenge for most firms, and it introduces time constraints. Deterioration is controllable by using PRT in greenhouse farms. The present study employed a Taiwanese greenhouse as a case study. This greenhouse trades flowers and plants using an SSCI. The greenhouse obtains orders from farmers, florists, and retailers. Flowers deteriorate rapidly under natural conditions; although this deterioration depends on time, it also involves a random element. To reduce deterioration and carbon emissions, greenhouse managers can employ PRT and GRT investment, which will reduce government taxes for high carbon emissions and mitigate global warming. Although PRT and GRT investment incurs costs for greenhouse farms, this study revealed that such investment is beneficial for both the retailer and the environment.
Moreover, suppliers can offer farmers, florists, and retailers a delayed payment period with a portion of the purchase cost prepaid as a deposit. Some numerical illustrations based on real examples reveal similar benefits for the supplier and retailer. We used the parameters and most data from Mishra et al. [40] with some revisions. We solved the proposed model using Mathematica 9 software using a 2.60 GHz Intel Core i7 CPU with 8.00 GB of RAM.

Example 1.
For partial backorders, we solved the model using Mathematica 9 through the four steps detailed as follows; data were obtained from Mishra et al. [40], with some revisions. The results are shown in Table 1.  Step 2: Find Root Step 3: The output is optimal solutions T * , α * , P * , G * , and p * .
Step 4: Insert optimal solutions T * , α * , P * , G * , and p * into Equation (26) to obtain the total profit Q = (a − bp)e ζ M 1 + α 2 T 2 λ 0 e −uP . Although the total profit is the lowest for partial backorders, this model is more accurate because it examines economic and environmental issues. Moreover, the model with full backordering is not applicable in some cases. Therefore, the model with partial backorders is conditional because a fraction of orders can be backlogged to increase profits. Table  1 indicates that the cycle time T is highest for the partial backordering model. However, PRT and GRT investment (P and G, respectively) are lower in the partial backorder model than in the other models. The partial backorder model is an SSCI model in which product shortages influence reasonable total profits.
The concavity of the total profit function should be verified. Figures 3a, 4a and 5a present contour plots for the models' total profit functions in Examples 1, 2, and 3, respectively. The global optimum profit points are represented graphically to validate the obtained solutions. global maxima. Figures 3c, 4c, and 5c unambiguously indicate that total profit is minimized at 0 P = and 0 G = . The point at which the lines representing P and G meet is the optimal point at which total profit is maximized.
Consequently, retailers should employ capital investment for P and G to maximize profit. The effects of critical parameters should be investigated by increasing and decreasing them while monitoring total profit.   global maxima. Figures 3c, 4c, and 5c unambiguously indicate that total profit is minimized at 0 P = and 0 G = . The point at which the lines representing P and G meet is the optimal point at which total profit is maximized.
Consequently, retailers should employ capital investment for P and G to maximize profit. The effects of critical parameters should be investigated by increasing and decreasing them while monitoring total profit.   mized at 0 P = and 0 G = . The point at which the lines representing P and G meet is the optimal point at which total profit is maximized.
Consequently, retailers should employ capital investment for P and G to maximize profit. The effects of critical parameters should be investigated by increasing and decreasing them while monitoring total profit.   These contour plots illustrate that the profit functions are concave, with congregation toward a distinct point. Figures 3b, 4b and 5b present 3D plots of total profit functions for the models in Examples 1, 2, and 3, respectively. These plots illustrate that these functions are concave with regard to P and G. As a result, the local maxima of TP are the global maxima. Figures 3c, 4c and 5c unambiguously indicate that total profit is minimized at P = 0 and G = 0. The point at which the lines representing P and G meet is the optimal point at which total profit is maximized.
Consequently, retailers should employ capital investment for P and G to maximize profit. The effects of critical parameters should be investigated by increasing and decreasing them while monitoring total profit.

Sensitivity Analysis and Managerial Implications
This section presents a sensitivity analysis for different parameters for full backorder, partial backorder, and no backorder cases to validate the proposed model in Section 5.1, while in Section 5.2 some managerial implications have been presented.

Sensitivity Analysis
A sensitivity analysis has been carried out in this section to show the proposed model's flexibility and presents the effects of some critical parameters on the anticipated three different cases named full backorder, partial backorder, and no backorder ( Table 2).
The results of the sensitivity analysis ( Table 2) are summarized in the following remarks: 1.
In all models, the total profit, order quantity, cycle time, and selling price increase with an increase in demand scale parameters. This shows that intensifying demand increases profits. PRT and GRT costs decline with increases in demand scale parameters. The values of positive inventory level decrease with increases in the demand scale parameters during a surge in backorders.

2.
When the price sensitivity increases, the total profit, selling price shrinkage, and cycle time values also increase. That is, the higher the price sensitivity is, the lower the annual profit is. The PRT cost, GRT cost, and order quantity increase with increases in price sensitivity; moreover, the positive inventory level increases with price sensitivity in backorder models.

3.
With the increase of trade credit period, the total profit, selling price, and cycle time decrease, and PRT cost, GRT cost, and order quantity increase. That is, the longer the trade credit period is, the lower the annual profit is. Furthermore, the positive inventory level decreases when the credit period increases in the backorder model.

4.
If the prepayment period decreases, then the total profit and cycle time increase, and at the same time the order quantity and the PRT and GRT costs increase. This is because the longer the prepayment period, then the higher the annual profit. Moreover, the positive inventory level increases when the prepayment period increases in backorder models.

5.
When the purchasing cost for advance payments increases, the total profit and cycle time increase, and PRT cost, GRT cost, order quantity, and selling price decrease. That is, the higher the fraction of purchasing cost is, the lower the annual profit is. Additionally, a positive inventory level decreases with increases in purchasing cost in backorder models. 6.
For all three cases, when the discount rate increases, the suppliers' lead time, carbon emissions, total profit, cycle time, and selling price decrease, and the PRT cost, GRT cost, and order quantity increase. Moreover, the positive inventory level increases when the discount rate, suppliers' lead time, and carbon emissions increase in backorder models. 7.
The increase of fixed ordering cost and carbon emissions related to ordering leads to a decrease in the total profit and selling price, and the cycle time, PRT cost, GRT cost, and order quantity increase. The positive inventory level increases when the fixed ordering cost and carbon emissions related to ordering increase in backorder models. 8.
The table shows that when the purchasing cost increases, the total profit, cycle time, and selling price decrease, and the PRT cost, GRT cost, and order quantity increase. The positive inventory level decreases when the purchasing cost increases in backorder models. 9.
The increase in the retailer's revenue raises the sensitive parameter for PRT investment and the sensitive parameter for investment to carbon emissions. The total profit, cycle time, and selling price increase, and the PRT cost, GRT cost, and order quantity plummet. The positive inventory level increases when the sensitive parameters for PRT investment and investment in carbon emission alleviation increase in backorder models.

Managerial Implications
The analysis of the proposed study will help a retailer run a business smoothly and profitably. Some significant insights are:

•
Total annual profit increases with reductions in deterioration and emissions. Therefore, greenhouse managers should precisely apply PRT and GRT to increase profits and protect greenhouse products (i.e., plants and flowers) and the environment. Profit increases with increases in the number of prepayments. Managers should aim to increase prepayment quantity and recurrence rate. • Lower ordering costs and emission-linked order edge charges increase total annual profit; thus, the retailer can obtain additional profit by reducing the ordering edge value when shortages are not permitted. Moreover, higher ordering increases the inventory cycle, resulting in increased losses because of deterioration and carbon emissions. Therefore, greenhouse managers should increase PRT and GRT investment to control both deterioration and emissions.

•
If ordering costs, including emissions-related ordering costs, are sufficiently low, PRT and GRT costs are zero; thus, the system becomes a conventional sustainable EOQ supply chain model with or without backorder and without investment.
• If purchasing cost increases, the cycle time and annual profit decrease, and ordering increases. If greenhouse managers offer a maximum purchasing cost per unit, the buyer should maximize the order quantity to counter product deterioration and emissions by increasing PRT and GRT investment.

•
When the sensitive parameter for PRT investment and the sensitive parameter for investment to carbon emissions increase, the cycle time, profit, and selling price increase, but the PRT cost, GRT cost, and ordering quantity decrease. Therefore, the minimum return on capital should increase.

•
The optimal annual profit increases with reductions in PRT and GRT investment costs, thus reducing deterioration and carbon emissions. Furthermore, if these two parameters are sufficiently low, then PRT and GRT costs are zero. The system then becomes a conventional sustainable EOQ supply chain model with or without backorders and without investment (PRT and GRT). • This greenhouse-based sustainable inventory model for carbon emissions, PRT and GRT investment, and emissions and deterioration rates yields an optimal solution. This study proposes a strategy for flower retailers to deal with deteriorating products. By introducing PRT and GRT investments, greenhouse retailers can maximize their profits. Furthermore, a trade-off exists between using investment and GRT for emissions reductions.

Conclusions
Carbon emissions and deterioration are factors affecting global warming. Greenhouse managers have focused on reducing carbon emissions and have used carbon caps and taxbased implications to achieve this. Studies have investigated how firms deal with carbon emission constraints because of the importance of reducing carbon emissions in developing a green supply chain. In a seller-buyer relationship, the seller can offer a trade credit period to the buyer to manage stocks and stimulate demand. Item deterioration is a challenge for many firms as it introduces specific time constraints. Deterioration is controllable by using PRT in greenhouse farms. The present study contributes to the literature by exploring greenhouse managers' need to consider PRT and GRT investment and trade credit to increase profits. This study's primary outcomes relate to annual profit, PRT and GRT investment cost, deterioration, and carbon emissions. We propose a payment scheme with prepayments and a trade credit policy, and we suggest a novel solution technique for SSCI models. This solution optimizes the total annual profit with or without inventory shortages. We used three numerical examples to validate the projected model's effectiveness (full backorder, partial backorder, and no backorder) and to explain the process. This study has observed that a full backorder case is more profitable than others.
Furthermore, if the PRT and GRT parameters are sufficiently low, PRT and GRT costs are zero, and the system is reduced to a conventional sustainable EOQ supply chain model with or without backorders and without investment (PRT and GRT). It is recommended that greenhouse managers use the proposed SSCI model and its solution technique in real-world situations. Greenhouse managers should use PRT and GRT investment and a trade credit policy to increase their total annual profits.
The proposed model and solution procedure are valuable tools for greenhouse managers. Using the proposed model, greenhouse managers can better regulate their stock in greenhouse stores with PRT and GRT investment, reducing the deterioration rate. The effects of greenhouse products (i.e., plants and flowers) on global warming can be passed on to clients through prepayments, trade credit policy, order quantity, and shortages (none, partial, or full). The proposed SSCI model also includes payment systems in a shortage (partial or full backorders) situation and a situation without shortage with a price-and credit-linked demand rate. This model's main recommendation is to invest in PRT and GRT and introduce trade credits to increase profit.
The limitation of this study is that the deterioration rate is modeled as instantaneous throughout the year. However, deterioration can be non-instantaneous due to season changes. Future studies could extend the proposed model for non-instantaneous deterioration rates. This study could also be improved by considering stock-and price-dependent demand in backorder cases. This study can also be extended by considering the advancecash-credit payments system. Some flowers are dried out in the greenhouse farm process, so one needs to use the waste management technique [47] to manage it, which lags in this study.

Conflicts of Interest:
The authors have no conflicts of interest to declare. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.
The calculus for concavity proves the following condition:

Appendix C
Proof: This proof is the same as that shown in Appendix B with η = 1.

Appendix D
Proof: This proof is the same as that shown in Appendix B with η = 1 and α = 1.