Dynamic Supply Chain Design and Operations Plan for Connected Smart Factories with Additive Manufacturing

Interest in smart factories and smart supply chains has been increasing, and researchers have emphasized the importance and the effects of advanced technologies such as 3D printers, the Internet of Things, and cloud services. This paper considers an innovation in dynamic supply-chain design and operations: connected smart factories that share interchangeable processes through a cloud-based system for personalized production. In the system, customers are able to upload a product design file, an optimal supply chain design and operations plan are then determined based on the available resources in the network of smart factories. The concept of smart supply chains is discussed and six types of flexibilities are identified, namely: design flexibility, product flexibility, process flexibility, supply chain flexibility, collaboration flexibility, and strategic flexibility. Focusing on supply chain flexibility, a general planning framework and various optimization models for dynamic supply chain design and operations plan are proposed. Further, numerical experiments are conducted to analyze fixed, production, and transportation costs for various scenarios. The results demonstrate the extent of the dynamic supply chain design and operations problem, and the large variation in transportation cost.


Introduction
In the era of mass production, manufacturing companies have emphasized the efficiency of processes such as procurement, production, and logistics, in order to minimize the cost of over-and under-stocking.To improve productivity and reduce costs, companies have focused on economies of scale, and analyzed the tradeoffs between different processes.As the importance of personalized customer needs increases and the product life cycle became shorter, more companies are focusing upon customized products and flexibility.Production and supply chain management (SCM) systems, such as lean and agile systems, have been introduced by many companies [1,2].
The manufacturing system that provides customized products has been discussed and implemented.In particular, a manufacturing paradigm of mass customization has been in place since the late 1980s.Even though there has been controversy over the level of individualization [1], mass customization has been implemented by several important concepts, including product family architecture, reconfigurable manufacturing system, and delaying differentiation [3].Now, we are entering a new era, which demands a new manufacturing paradigm, focusing on highly customized products, such as economies of one [4] and make-to-individual production [5].Therefore, with the adoption of new information and communication technology (ICT), developing new production and SCM systems that support personalized manufacturing has become an matter of urgency [6].
Many governments and manufacturing companies have been developing more automated and flexible systems, in order to provide customized products.In Germany for example, the Industry 4.0 strategy was announced, and the concept of the smart factory was introduced by integrating new ICT technology and manufacturing systems.With advanced ICT technologies such as the Internet of Things (IoT), cloud computing, data analytics, and 3D printers, we are able to develop new manufacturing and supply chain systems that are tailored to meet individualized requirements [7].In such environments, equipment in a smart factory is connected by the IoT, and monitored and shared in a cloud system.When multiple factories are connected and shared, they become connected smart factories, or a web of smart factories.In a traditional manufacturing system, it may be difficult to share processes and facilities; however, in an environment of connected smart factories, it is possible to share factories in real time and create new business models [8].Customers and other players in a supply chain can be connected and efficiently communicate through a cloud-based system.To test and implement the new supply chain, the EU implemented the ManuCloud project, to share the manufacturing capacity of production networks in the cloud architecture [9].In Korea, connected smart factories with 3D printers supporting personalized production have been built in Daejeon, Gwangju, and other cities, and are managed in the cloud system under the name "Factory as a Service" (FaaS) [10].Figure 1a shows the layout of the smart factory.3D printers and post-processing facilities are located at the side of the octagon, while a robot arm in the center moves products.The factory in each city has interchangeable processes which can be shared when connected to the cloud system.Figure 1b shows the FaaS cloud system with which customers can upload computer-aided design (CAD) files of products, collaborate with engineers, and request production.The motivation for this research is a desire to develop a dynamic supply chain design and planning applications for connected smart factories, with additive manufacturing.information and communication technology (ICT), developing new production and SCM systems that support personalized manufacturing has become an matter of urgency [6].Many governments and manufacturing companies have been developing more automated and flexible systems, in order to provide customized products.In Germany for example, the Industry 4.0 strategy was announced, and the concept of the smart factory was introduced by integrating new ICT technology and manufacturing systems.With advanced ICT technologies such as the Internet of Things (IoT), cloud computing, data analytics, and 3D printers, we are able to develop new manufacturing and supply chain systems that are tailored to meet individualized requirements [7].In such environments, equipment in a smart factory is connected by the IoT, and monitored and shared in a cloud system.When multiple factories are connected and shared, they become connected smart factories, or a web of smart factories.In a traditional manufacturing system, it may be difficult to share processes and facilities; however, in an environment of connected smart factories, it is possible to share factories in real time and create new business models [8].Customers and other players in a supply chain can be connected and efficiently communicate through a cloud-based system.To test and implement the new supply chain, the EU implemented the ManuCloud project, to share the manufacturing capacity of production networks in the cloud architecture [9].In Korea, connected smart factories with 3D printers supporting personalized production have been built in Daejeon, Gwangju, and other cities, and are managed in the cloud system under the name "Factory as a Service" (FaaS) [10].Figure 1a shows the layout of the smart factory.3D printers and post-processing facilities are located at the side of the octagon, while a robot arm in the center moves products.The factory in each city has interchangeable processes which can be shared when connected to the cloud system.Figure 1b shows the FaaS cloud system with which customers can upload computer-aided design (CAD) files of products, collaborate with engineers, and request production.The motivation for this research is a desire to develop a dynamic supply chain design and planning applications for connected smart factories, with additive manufacturing.Theory and applications in SCM have been developed according to changes in manufacturing and business environments.Traditionally, the topics in SCM are classified into design and operation, and control aspects [11,12].Supply chain design aspects deal with network configuration, outsourcing, and capacity decisions; these are long-term concerns for which changes in decisions have significant financial implications.Therefore, traditional supply chains are not frequently modified.Once a supply chain is designed according to the objective of the company, it is fixed for several months or years.Supply chain operation and control aspects are addressed after design decisions have been made.Medium and short term forecasting, production planning, and subcontracting are examples of operations and control issues.However, due to the aforementioned changes in business environments, a new approach is needed for dynamically designing supply chain, in order to efficiently support personalized production.In this paper, we consider a network design problem as a short-term decision based on real time data, including capacity and demand.The main contributions of the paper are as follows: Theory and applications in SCM have been developed according to changes in manufacturing and business environments.Traditionally, the topics in SCM are classified into design and operation, and control aspects [11,12].Supply chain design aspects deal with network configuration, outsourcing, and capacity decisions; these are long-term concerns for which changes in decisions have significant financial implications.Therefore, traditional supply chains are not frequently modified.Once a supply chain is designed according to the objective of the company, it is fixed for several months or years.Supply chain operation and control aspects are addressed after design decisions have been made.Medium and short term forecasting, production planning, and subcontracting are examples of operations and control issues.However, due to the aforementioned changes in business environments, a new approach is needed for dynamically designing supply chain, in order to efficiently support personalized production.In this paper, we consider a network design problem as a short-term decision based on real time data, including capacity and demand.The main contributions of the paper are as follows:

•
In this paper, six types of flexibility associated with a network of smart factories utilizing 3D printers, cloud computing, and the IoT, are identified and defined.Specifically, design flexibility, product flexibility, process flexibility, supply chain flexibility, collaboration flexibility, and strategic flexibility are explained, based on a review of previous research.

•
This paper proposes a general planning framework and two optimization models for supply chain design and operation, by dynamically connecting smart factories according to customer demand.

•
This paper demonstrates a way of managing a network of smart factories to deal with customized products, and demonstrates the performance of the proposed approach with some scenarios.
The remainder of this paper is organized as follows.In Section 2, smart supply chains are described and the relevant literature is reviewed.Six types of flexibility are identified and explained with several examples.Papers considering mathematical models on supply chains with additive manufacturing are also reviewed.In Section 3, a general planning framework to solve the design and operations problems of a smart supply chain is presented.Optimization models are developed for selecting appropriate processes in the network of smart factories, and to generate efficient production and logistics plans using the selected processes.Numerical experiments are described in Section 4, and Section 5 concludes the paper.

The Concept of Smart Supply Chains
As customized products increase, companies require the ability to produce a variety of products and form an integrated network in order to efficiently utilize geographically distributed resources.A network providing customized products according to customer needs was proposed as the smart supply chain concept [13].Later, Noori and Lee [14] focused on the role of small-and medium-sized enterprises (SMEs) in competing with big companies.Geographically spread but electronically linked SMEs could form a dynamic and adaptive network without obligatory egalitarian responsibility, which is different from traditional collaborative networks.The dynamic and adaptive network is referred to as a dispersed manufacturing network.Similar concepts of connecting companies to generate collaborative and competitive organizations include collaborative networks [15,16], responsive supply chains [17], and distributed manufacturing [18].
The concept of the smart supply chain is not new and has been discussed by many researchers and practitioners; however, recent research emphasizes the role of advanced ICT.Gaynor et al. [19] is one of the earlier works that proposes a smart supply chain using wireless sensors.As an example, they developed a prototype application to handle Sears' customized orders.Bendavid and Cassivi [20] suggest that the next step in the development of wireless sensors is the higher-level integration of inter-organizations, and e-commerce within a self-managed smart supply chain.In subsequent research, Bendavid and Cassivi [21] show how radio-frequency identification (RFID) could be adopted to implement smart supply chain models to deal with their dynamic nature.Ivanov and Sokolov [22] consider the next generation supply chain as a cyber-physical system (CPS)-an advanced network using a physical system and cloud service.They emphasize that a pre-determined supply chain structure will evolve into a dynamic and temporary network.The customer-centered new supply chain is more flexible, adaptable, and intelligent, so that it could operate without human involvement.
Butner [23] claims that a smarter supply chain has three properties: (1) instrumented-more data in a supply chain would be generated by various devices such as sensors, RFID, and actuators; (2) interconnected-more objects in a supply chain would be extensively connected and lead to massive collation among them; and (3) intelligent-more intelligent systems would help people by making real-time decisions and predicting future events.Recently, Wu et al. [24] added three additional characteristics, including automated, integrated, and innovative.
This paper focuses on the flexibility and dynamics required to make customized products, which could be achieved by employing new ICT such as sensors, 3D-printers, CPS, and IoT.It considers a set of geographically dispersed smart factories sharing their machines and collaborating to make customized products through a cloud system-called connected smart factories.They are able to share machines through entire processes, or partially share some processes to make a customized product.Then, smart supply chains could be dynamically organized to fulfill a customer order and dissolve after order fulfillment, using the advanced ICT mentioned above.

Flexibility in the Smart Supply Chain with Additive Manufacturing
With advanced ICT, the smart supply chain could be more flexible than the traditional supply chain.There are many ways to implement a smart supply chain.For example, traditional production facilities with smart software systems can be a part of a smart supply chain.With anticipatory shipping models, a company is able to deal with individual customer's requirement.In this paper, we focus on the flexibilities achieved by connected smart factories with additive manufacturing that can be shared via a cloud system.A literature review was conducted to identify the flexibilities, which have been classified into six categories.Note that the purpose of the paper is not to thoroughly review the smart supply chain literature, but to identify smart supply chain flexibilities with 3D printing and other interchangeable processes.

Design Flexibility
A 3D printer using additive manufacturing technology adds layers using raw materials such as polymers, ceramics, and metals [25].3D printers can produce products in the desired shape without molds when the raw materials necessary for the production are ready; the variety of product shapes is therefore very broad.Design flexibility refers to the flexibility to produce a product with a variety of designs.3D printers can be used to produce customized products with various designs performing the same function [4].
Production through 3D printouts can be based on CAD drawings, and do not require expensive tools used for subtractive manufacturing processes such as drilling, grinding, and molding [26].The process of product design is less constrained by manufacturing processes, and has a high degree of freedom.With 3D printers, hollow-core structures are easily formed while maintaining or optimizing the characteristics and performance of products.For example, Lu et al. [27] propose a honeycomb-cell structure providing strength in tension with minimal material cost.Qin et al. [28] investigate the properties of spider web design.These new types of design allow companies to make products that perform the same function while reducing the weight of the parts compared to solid type designs, through topology optimization [29,30].Moreover, in order to manufacture lighter parts, fewer raw materials are used and a manufacturer can save on raw materials costs.Lighter products consume less energy and produce less CO 2 , and are therefore of significant interest to companies in automobiles and aviation.

Product Flexibility
Product flexibility means that a variety of products can be produced in one factory or supply chain according to customers' requirements.This concept is closely related to mass customization [1], but with some differences.While a traditional mass customization system is based on modular design or product postponement [31], mass customization in the smart supply chain is based on CPS and the Internet of Things and Services in the manufacturing system [7].In addition, in contrast to traditional systems, it does not require a high degree of supply chain integration [26].
3D printers also play an important role in meeting individual customer requirements.In the past, 3D printers were mainly used for prototype and mockup production at low cost.However, due to the development and spread of technology, 3D printers are increasingly being used.Rather than using a single product, companies can test market response with small quantities of finished products of various sizes, colors, and functions [7,32].In addition, 3D printers are successfully used to produce customized final products with individual product designs without retooling [29,33].In this way, it is of the greatest advantage to be able to flexibly produce small quantities of various products without incidental tooling costs through 3D printing [34,35].If the raw materials of the products to be printed are the same, any product could be produced in a factory.

Process Flexibility
Flexibility is needed to adapt to the wide variety of changes that occur at the process level of the production site in the manufacture of personalized products [36].Process flexibility means that the same product can be produced through different manufacturing processes.
With the production line using 3D printers, process flexibility can be achieved so that one product can be produced in various ways.In other words, depending on the equipment or resources that are available, manufacturers could flexibly select the best process to make the product.First, the product can be redesigned to produce finished products with fewer components, requiring less assembly processes [37,38].For example, GE Aviation used to produce fuel nozzles through the assembly of 20 parts.Now, they produce them as single units using additive manufacturing.Secondly, the performance of 3D printers could also affect the selection of the manufacturing process.For example, a large 3D printer produces a single product at a time, while a small 3D printer produces parts of the product that are assembled in the subsequent process.Thirdly, the manufacturing process depends on the selection of material.Typically, polymers require a limited finishing process while metals require post-processes [4].

Supply Chain Flexibility
The development of advanced technology can change the supply chain configuration, or could require the adoption of a new supply chain model [26,35].Supply chain flexibility means that facilities in the connected smart factories are shared and operated flexibly.In the smart factory environment, supply chain flexibility can be achieved through outsourcing of manufacturing, which has become easier with the use of 3D printers [26], real time data collection, and agile collaboration between intelligent agents [39].In addition, cyber-supported collaboration infrastructure plays an important role in sharing demand and capacity among enterprises in a collaborative network [40].
Further, the large variety of products that result from customization introduces significant uncertainty.It is possible to flexibly cope with such high supply chain uncertainties by sharing the capacity of the facilities in the network [41].With advanced technology, collaborative manufacturing is considered to be a new business model [42].If the capacity of a particular process in the factory is insufficient, a product can be made by using the capacity of other factories in the network, through sharing processes and machines.That is, available resources in the supply chain network can be used efficiently, and the capacity utilization of factories in the network can be maximized [43].

Collaboration Flexibility
Previous studies have emphasized that collaboration through information sharing within the supply chain has a significant impact on supply chain performance [44,45].In recent years, with the introduction of new technologies and extensive connectivity, the amount and speed of information generated in the supply chain have become more diverse and faster than ever before.Product design, production, and product tracking information is collected in various ways, including RFID and the IoT, and is shared in a cloud.The cloud system monitors and stores information generated within the supply chain to provide visibility, and enables end-to-end collaboration through information sharing [46].Collaboration flexibility means that supply chain participants can exchange feedback with each other and work together to provide customized products.It focuses on the integration of the design, process planning, production planning, and logistics, through information sharing, while supply chain flexibility focuses on the integration of supply stages through the sharing of available capacities.
In the traditional manufacturing environment, the roles and responsibilities of the designer and manufacturer are clearly distinguished, but in the new environment, the distinction becomes unclear [4].In a smart supply chain, participants can collaborate from design to delivery; it extends the range of collaboration compared to the traditional approach, such as the use of concurrent engineering in the design stage.For example, even during production, a designer can request manufacturing process changes and a manufacturer can request product design changes according to the availability of equipment.Even customers who do not know how to draw a CAD model or produce a product can request production based on a purchased CAD file.Therefore, collaboration among supply chain participants is critically important; a smart supply chain should be able to support last-minute changes to individual customer requirements [7].

Strategic Flexibility
Strategic flexibility refers to the ability to respond in a timely manner to changes in market competition, and to environmental changes in an appropriate manner [47].Many research studies have been conducted on strategic flexibility.Earlier works on strategic flexibility emphasized responsiveness.They focused on identifying characteristics and acquiring appropriate resources according to the changing environment.Appropriate implementation options were then developed [48,49].In addition, enterprises are required to develop strategic diversity and then choose an appropriate strategy to best suit the changing environment [50,51].
When it comes to the concept of the smart supply chain with additive manufacturing, new products can be quickly introduced in response to market demand [52].Also, timely response may be achieved through coordination of flexible resources connected to cloud-based networks in response to internal or external environmental changes.Shirodkar and Kempf [53] proposed a method to adopt flexible strategies to solve the problems of internal or external uncertainties in semiconductor production.They shared the capacity of each process facility to make the plant more flexible.Generally, one product is produced in one factory, but if there is insufficient capacity due to various uncertainties, it can be produced in another factory registered in the network.Seok and Nof [43] made a supply chain network operate flexibly by maximizing the capacity utilization of factories in the network.

Mathematical Models for Supply Chains with Additive Manufacturing
This section summarizes the relevant research on quantitative approaches to supply chains with additive manufacturing.Recent research focuses on the adoption of additive manufacturing and its effects.Scott and Harrison [52] consider additive manufacturing in an end-to-end supply chain, to compare the performance of additive and traditional manufacturing.They propose a stochastic optimization model and show that demand is the most important factor for the adoption of new technology.Barz et al. [54] investigate the impact of additive manufacturing on the structure of the supply chain.A two-stage capacitated facility location problem is used for supply chain configuration, consisting of suppliers, manufacturers, and customers.They show that as the efficiency of the new technology increases, the effect on the supply chain configuration is significant in three scenarios: evenly distributed facilities, clustered suppliers, and clustered manufacturers.Emelogu et al. [55] propose a two-stage stochastic programming model to analyze the cost, and to investigate the economic feasibility of additive manufacturing facilities.There are few studies on the operational aspects of the smart supply chain.Ivanov et al. [56] consider a mathematical model and algorithm for a scheduling problem of a smart factory, under the consideration of different processing speeds and dynamic job arrivals.

Planning Framework
Different to the mass production system, it may be more difficult or impossible to forecast highly customized products as customers and products are not known before orders are placed.Players in a supply chain providing customized products are able to know the product characteristics and the required manufacturing processes after receiving the order; these differ by product.Therefore, flexibility is more important than ever before.
Figure 2 shows the process for the smart supply chain from customer order to delivery of the product.First, the customer uploads a CAD file and requests an order via the cloud system using a website.Then, engineers supporting the system validate the CAD file, confirm whether the product can be made in the system, and provide feedback to the customer.At the same time, the required processes and bill of materials (BOM) are designed.Next, based on the design data, real time data about the machines in the processes are gathered from the IoT and monitored through the cloud system.After the required information-including availability of raw materials, capacity of resources, and working calendars-has been reviewed, the optimal supply chain design and operations plans are generated for a single order request by matching demand requirements and supply capability.Based on the decision, customers receive information on the facilities and processes that will be used, the production plan, and the delivery date.After confirmation from the customer, an operations plan is sent to the selected parties.Finally, each party in the supply chain develops his or her own schedule, and execution begins.about the machines in the processes are gathered from the IoT and monitored through the cloud system.After the required information-including availability of raw materials, capacity of resources, and working calendars-has been reviewed, the optimal supply chain design and operations plans are generated for a single order request by matching demand requirements and supply capability.Based on the decision, customers receive information on the facilities and processes that will be used, the production plan, and the delivery date.After confirmation from the customer, an operations plan is sent to the selected parties.Finally, each party in the supply chain develops his or her own schedule, and execution begins.The optimization models in the following sections covers the steps for the development of the design and operations plan of the supply chain, which can be dynamically organized and deleted according to customer orders.It is assumed that the factories, as well as processes, are interchangeable.The example in Figure 3 explains the approach for the dynamic supply chain design and operation with connected smart factories, as proposed in this paper.In the first step, based on the data gathered from the customer and factories, all possible processes in each factory are selected, as outlined in Figure 3a.In the example, three processes, namely Processes 1, 2, and 3, are required to produce the product.In addition, there are three available factories, namely Factories 1, 2, and 3, in the network.The nodes, represented by circles, show which process in which factory is available.A solid line indicates that the process in the factory is available, while a dotted line indicates unavailability.For example, Processes 1 and 3 in Factory 1 are available.After checking the availability, the optimal supply chain is designed.That is, the best combination of processes is selected in order to minimize the total cost and cover all required processes as shown in Figure 3b.Four processes in three factories are selected.That is, all three factories are sharing their resources to The optimization models in the following sections covers the steps for the development of the design and operations plan of the supply chain, which can be dynamically organized and deleted according to customer orders.It is assumed that the factories, as well as processes, are interchangeable.The example in Figure 3 explains the approach for the dynamic supply chain design and operation with connected smart factories, as proposed in this paper.about the machines in the processes are gathered from the IoT and monitored through the cloud system.After the required information-including availability of raw materials, capacity of resources, and working calendars-has been reviewed, the optimal supply chain design and operations plans are generated for a single order request by matching demand requirements and supply capability.Based on the decision, customers receive information on the facilities and processes that will be used, the production plan, and the delivery date.After confirmation from the customer, an operations plan is sent to the selected parties.Finally, each party in the supply chain develops his or her own schedule, and execution begins.The optimization models in the following sections covers the steps for the development of the design and operations plan of the supply chain, which can be dynamically organized and deleted according to customer orders.It is assumed that the factories, as well as processes, are interchangeable.The example in Figure 3 explains the approach for the dynamic supply chain design and operation with connected smart factories, as proposed in this paper.In the first step, based on the data gathered from the customer and factories, all possible processes in each factory are selected, as outlined in Figure 3a.In the example, three processes, namely Processes 1, 2, and 3, are required to produce the product.In addition, there are three available factories, namely Factories 1, 2, and 3, in the network.The nodes, represented by circles, show which process in which factory is available.A solid line indicates that the process in the factory is available, while a dotted line indicates unavailability.For example, Processes 1 and 3 in Factory 1 are available.After checking the availability, the optimal supply chain is designed.That is, the best combination of processes is selected in order to minimize the total cost and cover all required processes as shown in Figure 3b.In the first step, based on the data gathered from the customer and factories, all possible processes in each factory are selected, as outlined in Figure 3a.In the example, three processes, namely Processes 1, 2, and 3, are required to produce the product.In addition, there are three available factories, namely Factories 1, 2, and 3, in the network.The nodes, represented by circles, show which process in which factory is available.A solid line indicates that the process in the factory is available, while a dotted line indicates unavailability.For example, Processes 1 and 3 in Factory 1 are available.After checking the availability, the optimal supply chain is designed.That is, the best combination of processes is selected in order to minimize the total cost and cover all required processes as shown in Figure 3b.Four processes in three factories are selected.That is, all three factories are sharing their resources to efficiently fulfill the current order.Process 3 in Factory 1 is not required to make the product, even if it is available.In the second step, optimal production and delivery plans are calculated using the processes selected in the previous step.Figure 3c shows the plan for each process.

Dynamic Supply Chain Design
The purpose of the dynamic supply chain design phase is to select the optimal combination of nodes to be used.We developed an integer programming model by modifying a set-covering problem.The concept is that all the required processes must be covered with at the minimum total cost.We assume that there are enough raw materials and no work-in-progress (WIP) in the process.The notations used in the optimization model are summarized in Table 1.
x k , y ik ∈ {0, 1} ∀ i, k The objective function is expressed by Equation ( 1): it minimizes the total costs composed of fixed, production, and transportation costs.Fixed costs are incurred when a factory is selected, and the production costs are expressed as the sum of the setup cost and the production cost per unit multiplied by the production quantity.Finally, transportation costs arise when consecutive processes are carried out in different factories.Equation ( 2) represents the demand for a product, which requires a supply chain design.Equation (3) requires that all processes be covered, and Equation ( 4) indicates that the available process at a factory can be selected only if the factory is selected.Equation ( 5) represents a capacity constraint, and capacity is calculated in terms of available time.Equations ( 6) and (8) determine whether transportation between the factories is necessary or not.We note that the decision variable v ikl is not necessarily defined as a binary variable within the constraints.Equations ( 9) and ( 10) define the decision variables.

Dynamic Supply Chain Operation
Once the supply chain has been designed, the operations plan is generated.Nodes represent processes selected in the dynamic supply chain design phase.We also introduce a dummy node, I d , so that finished products manufactured in several factories are delivered to the customer.The supply chain operations model, using the notations in Table 2, is as follows.
x t ij , y t i , The objective function, Equation (11), aims to ensure that the production is finished as soon as possible by employing penalty cost, which increases with time.The objective function can be modified according to the decision maker's goal.Equation ( 12) limits the production quantity depending on the capacity of the process at each time unit.Equations ( 13) and ( 14) represent inventory balance equations for raw material and manufactured product at each process, respectively.LT ij represents the transportation lead time between processes i and j.Equation ( 15) is a constraint expressing the demand of the product.Equation (16) shows that inter-factory movement is only possible when the transportation mode is available.The manufactured product in a factory can be sent to other factories when t belongs to T d .For example, all factories operate ten hours a day, and inter-factory transportation takes place at night after work hours.Equation ( 17) defines the decision variables.

Data
Parameters related to factories and processes are randomly generated, and the data used in the numerical experiments are shown in Table 3.The processing time of the 3D printers is relatively longer than that of other processes such as painting, fumigating, and vision testing.It is assumed that the planning horizon is five days, and factories are operated 10 hours per day.Further, transportation between factories occurs at the conclusion of the 10 h operating day.All experiments were conducted using GAMS; the first mathematical model was solved using Baron, and the second by using CPLEX.The experiments used an Intel Core i5-6600 3.3 GHz processor and a computer with 8 GB memory.

Experimental Results
First, six connected factories and a product requiring four processes were considered.Table 4 shows a set-covering matrix for a small-scale problem.For example, at the time of demand occurrence, the available processes in connected smart factory 1 are 1,2, and 3.
Figure 4 shows the results of dynamic supply chain design.A comparison of the demand of 1 for an individual request and the demand of 100 for the marketing test shows that different supply chains are obtained even if all data, except demand, are the same.In the case of an individual request, Factory 1 is selected for Process 1 and Factory 3 for the remaining processes.However, in the case of the marketing test, Factories 1, 2, and 3 are selected and Processes 1 and 3 are performed in parallel at multiple factories.After completing the supply chain design, a production and transportation plan is obtained with the dynamic supply chain operation model.In the first case, Process 1 is performed on the first day and the remaining processes are performed on the second day, as shown in Table 5.
The customer can receive the product after two days.In the second case, demand is fulfilled after seven days, as shown in Table 6.

Comparison of Results
In this section, the results are compared, considering problem size and capacity change.First, the problem size is increased by introducing more factories and more processes into the process whereby production takes place.The number of connected smart factories is increased to 12, in two separate units.In addition, the number of processes is increased to 10, in two units.Demand is fixed at 100.In all cases, the computation time required to solve each problem was less than one second.In Figure 5, the number before the parentheses represents the number of connected smart factories, and the number within parentheses represents the number of processes required.With a demand of 100, it is observed that the total cost increases as the size of the problem increases, as shown in Figure 5.The greater the number of processes required to complete the product, the higher the total cost, with a significant increase in transportation costs.Also, it is observed that fixed costs

Comparison of Results
In this section, the results are compared, considering problem size and capacity change.First, the problem size is increased by introducing more factories and more processes into the process whereby production takes place.The number of connected smart factories is increased to 12, in two separate units.In addition, the number of processes is increased to 10, in two units.Demand is fixed at 100.In all cases, the computation time required to solve each problem was less than one second.In Figure 5, the number before the parentheses represents the number of connected smart factories, and the number within parentheses represents the number of processes required.
the problem size is increased by introducing more factories and more processes into the process whereby production takes place.The number of connected smart factories is increased to 12, in two separate units.In addition, the number of processes is increased to 10, in two units.Demand is fixed at 100.In all cases, the computation time required to solve each problem was less than one second.In Figure 5, the number before the parentheses represents the number of connected smart factories, and the number within parentheses represents the number of processes required.With a demand of 100, it is observed that the total cost increases as the size of the problem increases, as shown in Figure 5.The greater the number of processes required to complete the product, the higher the total cost, with a significant increase in transportation costs.Also, it is observed that fixed costs With a demand of 100, it is observed that the total cost increases as the size of the problem increases, as shown in Figure 5.The greater the number of processes required to complete the product, the higher the total cost, with a significant increase in transportation costs.Also, it is observed that fixed costs account for a smaller proportion of total cost as the problem increases in size.Therefore, efforts should be made to reduce the number of processes required for personalized products during design.
Next, the number of processes was fixed at eight and network-connected factories at ten, to investigate the effect of a change in capacity. Figure 6a,b show the structure of the supply chain that is designed for 20% less and 30% more capacity respectively.If capacity is small, more factories are needed for each process, which leads to a complicated supply chain design and an increase in cost.One interesting fact is that the supply chain or network of nodes with a larger capacity is not a subset of the supply chain with a lower capacity.Therefore, it should be emphasized that the dynamic supply chain design should be based on real-time data, including demand and available capacity. account for a smaller proportion of total cost as the problem increases in size.Therefore, efforts should be made to reduce the number of processes required for personalized products during design.
Next, the number of processes was fixed at eight and network-connected factories at ten, to investigate the effect of a change in capacity. Figure 6a,b show the structure of the supply chain that is designed for 20% less and 30% more capacity respectively.If capacity is small, more factories are needed for each process, which leads to a complicated supply chain design and an increase in cost.One interesting fact is that the supply chain or network of nodes with a larger capacity is not a subset of the supply chain with a lower capacity.Therefore, it should be emphasized that the dynamic supply chain design should be based on real-time data, including demand and available capacity.The cost structures of the experiments with factory capacities that vary from −20% to 30% are shown in Figure 7.If the capacities of the factories located in the network become smaller, it becomes impossible to allocate products to less expensive factories, which increases the total cost.Because a given product can be produced in a smaller number of factories at a lower cost, the fixed cost and production cost are somewhat lower, and the transportation cost decreases significantly.For example, when we have 20% less capacity, the percentage of transportation costs is 53%, while the portion of transportation cost decreases to 42% with 20% more capacity.The cost structures of the experiments with factory capacities that vary from −20% to 30% are shown in Figure 7.If the capacities of the factories located in the network become smaller, it becomes impossible to allocate products to less expensive factories, which increases the total cost.Because a given product can be produced in a smaller number of factories at a lower cost, the fixed cost and production cost are somewhat lower, and the transportation cost decreases significantly.For example, when we have 20% less capacity, the percentage of transportation costs is 53%, while the portion of transportation cost decreases to 42% with 20% more capacity.
shown in Figure 7.If the capacities of the factories located in the network become smaller, it becomes impossible to allocate products to less expensive factories, which increases the total cost.Because a given product can be produced in a smaller number of factories at a lower cost, the fixed cost and production cost are somewhat lower, and the transportation cost decreases significantly.For example, when we have 20% less capacity, the percentage of transportation costs is 53%, while the portion of transportation cost decreases to 42% with 20% more capacity.

Conclusions
The development of technology is changing industries and enterprises.In contrast to traditional manufacturing practices, in a connected smart factory environment, advanced IT technologies must be integrated with manufacturing processes tailored to the production and delivery of personalized products.Since a factory cannot meet the personalized demand of all customers, a new concept of supply chain management is needed.

Conclusions
The development of technology is changing industries and enterprises.In contrast to traditional manufacturing practices, in a connected smart factory environment, advanced IT technologies must be integrated with manufacturing processes tailored to the production and delivery of personalized products.Since a factory cannot meet the personalized demand of all customers, a new concept of supply chain management is needed.
In this study, we investigated a smart supply chain with additive manufacturing that enables connected smart factories to communicate with each other in real time, to share data, and to make optimal decisions to support consumers through the cloud.First, we reviewed the literature related to the concept of smart supply chains, and presented six types of flexibility focusing on smart supply chains with additive manufacturing where processes are interchangeable, in order to support personalized customer requirements.These are design, product, process, supply chain, collaboration, and strategic flexibilities.Through a literature review and classification, we confirmed that a smart supply chain, especially with additive manufacturing, could provide more flexibility and opportunities in the face of the new manufacturing paradigms associated with personalized production.Also, flexibility is multi-dimensional [56] and smart supply chains can be flexible in different ways.Although the scope of this study does not cover the more comprehensive meaning of the smart supply chain, cloud-based networked manufacturing like FaaS can be one of the approaches for smart supply chains to flexibly meet individual requirements.
Next, we proposed a planning framework for dynamically designing and operating a smart supply chain, and formulated mathematical models for each stage, assuming a situation involving interchangeable factories and processes.Numerical experiments were conducted to compare the results of the proposed model under selected scenarios.Experimental results demonstrated the importance of dynamic supply chain design and operation with real time data, and showed that transportation costs vary widely .These proposed processes and results show that the smart supply chain is different from the traditional supply chain for mass production.First, in the traditional setting, the supply chain is designed as a long-term strategy [11,12]; in our model however, the supply chain is determined as a short-term plan.Second, in traditional supply chains, supply chain design is rather static and is not affected by individual orders.However, in our model, the supply chain is designed dynamically, based on the order received and available capacity at a given point of time; SMEs can be competitive with a dynamic network [13,14].Third, in the smart supply chain, each customer can be involved in the supply chain design process for his or her own product [7].; this is not true of the traditional supply chain.Finally, dynamic supply chain design and operations can proactively handle the changes and uncertainties in the environments, in line with recent approaches to strategic flexibility [47].
Since the new manufacturing environment studied has not been fully implemented yet, we need to consider additional constraints on the actual environment and expand the model accordingly.In this study, the optimization models for dynamic supply chain design and operations were developed separately.In future research, we will develop a mathematical model that integrates the design and operation phase, and compares the results and performance with this study.Future studies will also take into account the diverse uncertainties that occur in environments where multiple factories are shared.Also, in future research, other relevant factors, such as quality of product, compatibility and pricing strategies, can be considered.

Figure 1 .
Figure 1.Connected smart factories and the cloud system.(a) Smart Factory; (b) Cloud System.

Figure 1 .
Figure 1.Connected smart factories and the cloud system.(a) Smart Factory; (b) Cloud System.

Figure 3 .
Figure 3. Dynamic supply chain design and operation.

Figure 3 .
Figure 3. Dynamic supply chain design and operation.

Figure 3 .
Figure 3. Dynamic supply chain design and operation.

Figure 4 .
Figure 4. Dynamic supply chain design and operation.(a) Individual request; (b) Demand for marketing test.

Figure 5 .
Figure 5. Cost comparison based on change in problem size.

Figure 4 .
Figure 4. Dynamic supply chain design and operation.(a) Individual request; (b) Demand for marketing test.

Figure 5 .
Figure 5. Cost comparison based on change in problem size.

Figure 5 .
Figure 5. Cost comparison based on change in problem size.

Figure 7 .
Figure 7. Cost comparison based on capacity change.

Figure 7 .
Figure 7. Cost comparison based on capacity change.

Table 1 .
Notations for dynamic supply chain design.
ik Set-covering matrix representing the relationship between process i and factory k Decision Variables x k Factory selection, 1 if factory k is selected; 0, otherwise y ik Process selection; 1 if process i in factory k is selected; 0, otherwise v ikl Transportation selection; 1 if product from process i in factory k is sent to factory l q ik Production quantity of process i in factory k Appl.Sci.2018, 8, 583 9 of 16

Table 2 .
Notations for dynamic supply chain operation.
i Manufactured product inventory level of node i at time t

Table 3 .
Data used in the experiments.

Table 6 .
Production plan-Demand for marketing test.

Table 6 .
Production plan-Demand for marketing test.