© John D. McDowall 2019
John D. McDowall Complex Enterprise Architecture https://doi.org/10.1007/978-1-4842-4306-0_6
6. Modeling the Enterprise Architecture
John D. McDowall 1
(1)
Warrenton, VA, USA
Defining the proper scope and concern of enterprise architecture, understanding the difference between models and diagrams, specifying the types of models that should be created—these are all useful things, but they don’t tell us much about how to model an enterprise architecture. This chapter describes how to combine these elements into a functional, manageable architecture that senior leaders can use to guide the enterprise and make progress toward achieving its goals.
As I explained earlier, traditional enterprise architecture frameworks assumed that the enterprise architect would start from a high-level, very abstract statement of requirements and recursively decompose them until there was enough technical detail to hand it off to an implementation team. This type of top-down control made sense when enterprises were creating single large information systems. However, the people who developed the architecture frameworks in those days were working in the early days of information technology and computer science. Relatively few information systems even existed, and the capabilities of those that did exist were very limited. Each time a new information system was developed, it is highly probable that it was some new kind of capability, one for which there were no existing information systems to serve as templates. Even into the 1990s, many of the IT capabilities we take for granted today did not exist. Development teams had to invent new capabilities every time they implemented a new system.
The situation today is very different. It would be ridiculous to say that every IT capability that can be invented has already been invented, but the vast majority of information systems that are implemented today are either reimplementations of existing systems using more modern technologies or they provide a new capability by assembling existing technologies in a novel way. Most development teams do not have to invent anything; they have plenty of examples to use as templates. This is why a modern approach to enterprise architecture is so very different from the traditional approach: the vast majority of development teams assemble existing components and integrate existing systems to meet users’ needs; they do not invent entirely new capabilities.
Yes, there are times that development teams must invent entirely new capabilities. The field of machine learning is one obvious area where researchers are developing new techniques and practitioners are creating new capabilities. Yet those situations are the exception, not the rule. Similarly, the vast majority of enterprise architecture efforts are established to bring a measure of order to the existing conglomeration of systems within an enterprise, not to start from a clean slate and design an architecture for an entirely new enterprise. The approach to enterprise described in this chapter reflects that understanding and takes advantage of it to make the enterprise architecture effort both tractable and effective.
Dynamic Enterprise Architecture
An enterprise architecture framework is a means of organizing the architect’s thoughts and the architecture products, partly to divide them into manageable chunks and partly to ensure that the architecture addresses all of the various concerns such as user experience and infrastructure. But the enterprise architecture itself—the products produced by the architect within the bounds of the framework—has traditionally occupied a role analogous to that of a building architecture. When preparing to erect a building, the architect draws out plans for how the finished structure will look, which include some information about what materials the builder should use. Once the builder has put up the building, the architect’s job is complete, and the plans are filed away or disposed of because the architecture has fulfilled its purpose. The architect moves on to other pursuits. The building stands and is used, relatively unchanged, until the owner wishes to perform a major renovation. When undertaking a renovation, the first step is usually to hire an architect and start the design and construction process all over again.
Enterprise architecture is different in that the structure of the enterprise is not static. The modern enterprise is highly dynamic: Teams implement, update, and replace systems on a nearly continuous basis; management may restructure the organization periodically; the enterprise may change its mission or business model; and any number of other changes come and go. Enterprise architecture is an ongoing effort to better align the enterprise’s systems, processes, and structure to adapt to these changes. In such an environment, why would we expect the enterprise architecture to be a static set of artifacts? Traditional enterprise architecture frameworks treat the enterprise architecture as a fixed set of models or diagrams that development teams take as the starting point for their work. Given how dynamic the modern enterprise is, there is no reason to expect that a static enterprise architecture will be useful more than a few months after the architecture team documented it.
Another important aspect of architecture that the enterprise architect must accept is that no architecture ever survives contact with the development team . Once the architect hands over the architecture model, the architect moves to the back seat and reality drives events. User requirements change during development, new technology emerges, business needs change, schedules change—the list of potential changes is endless. A good development team responds to those changes quickly. New development models such as Agile and DevOps have emerged to deal with this rapid pace of change. The one constant in all of this is that most times, no one updates the original architecture model to reflect the as-fielded system. This is just as true of enterprise architectures as it is of system architectures.
Given this reality, it makes no sense to devote weeks and months to creating a highly detailed enterprise architecture. If the architecture does not accurately reflect the as-fielded systems in the enterprise, it is useless as a management tool. In order to make an enterprise architecture a useful management tool, we must make the enterprise architecture at least as dynamic as the enterprise itself. Any management tool that requires long update and approval cycles before leaders can use it for operational purposes is unsuited to the modern business landscape. The architect must properly scope an architecture in terms of both the level of detail and time. Bounding the architecture in this way limits the task of the architect to a tractable size, and it defines the boundaries in which the architecture is applicable and useful.
Bounding by Detail
If beginning an enterprise architecture from a high-level requirements statement and progressively decomposing it into implementation-level detail is impractical, it follows that we must have some means of limiting the amount of detail we include in the architecture. To be blunt about it, we must decide how our models will be wrong. We must have some reasonable means of deciding how much detail is enough for the purposes of an enterprise architecture.
The most obvious means of bounding an architecture is to define the scope of that architecture. In the case of an enterprise architecture, we must decide what constitutes the enterprise we are modeling, both in terms of how broad the enterprise is and how deep the level of detail in the enterprise architecture needs to be to make it effective. Deciding how broad the enterprise is requires that we define the limits of our enterprise. We can determine the appropriate level of detail by deciding whether we intend to create a reference architecture or a solution architecture.
Defining the Enterprise
Enterprise is a relative term. In general, when we discuss enterprise architecture, we are talking about an architecture that encompasses all of an organization. But even that is not a sufficiently clear means of deciding what is and is not within the enterprise. Organizations are not unitary constructs; they are often divided into suborganizations along functional lines. A large corporation is an enterprise, but that corporation may also have multiple divisions, each of which is an enterprise in its own right. For example, General Motors is an enterprise, but it has several subenterprises within it: Chevrolet, Buick, and others. Each of these divisions independently manages its own enterprise. The result is an enterprise of enterprises, each of which may have its own enterprise architecture. However, each of those enterprise architectures should align with the overall enterprise architecture (in this case, that would be the General Motors enterprise architecture).
In order to properly define the scope of the enterprise architecture, the enterprise architect must have clear direction from management that spells out the range of the enterprise architect’s responsibility. Because the purpose of the enterprise architecture is to meet the enterprise goals as defined by senior leadership, it is the prerogative of that leadership to define the breadth of the enterprise architecture. Furthermore, it is incumbent upon the leadership of the enterprise to define the relationship between the organization’s own enterprise architecture and the enterprise architectures of other organizations. In practical terms, this definition usually includes an outline of funding responsibilities. The enterprise leadership will scope its enterprise architecture to encompass all those things they provide funding for and exclude the things they don’t.
Even when senior leadership has clearly defined the scope of the enterprise architecture, it is a good practice for the enterprise architect to anticipate relationships and responsibilities that senior leaders have not clearly defined. Continuing with the example of General Motors, an architect tasked with preparing an enterprise architecture for Chevrolet would be wise to keep in mind that Chevrolet is part of the larger General Motors enterprise. Accordingly, the Chevrolet enterprise architecture team should work with the General Motors enterprise architecture team to ensure that, at the very least, their products do not conflict; ideally the Chevrolet enterprise architecture would link to and be derived from appropriate models in the General Motors enterprise architecture.
Defining the scope of the enterprise establishes the breadth of the architecture. The next task is to establish the depth, or degree of detail, that the enterprise architecture must include. There are a number of different terms used to denote levels of detail in an architecture, but I prefer to limit it to two: reference architectures and solution architectures .
Reference Architecture
A reference architecture is one that does not specify the implementation details of the systems within it but merely guides and constrains their definition. As the name implies, an implementation team should treat it as a reference and not as a specific design.
A reference architecture for a system defines the major components of the system in generic terms and the expected connections among those components. Details of each component’s capabilities, interface specifications, internal structure, and similar implementation information is beyond the scope of a reference architecture; those details should be left to a solution architecture. The reference architecture for a payroll management system might include a user interface, a server component, and a database, with a specification of the connections between the user interface and the server. Details about those connections should not be included in the reference architecture unless the enterprise has a specific goal of making those interfaces common across all systems. Whether the user interface connects to the server over a network or is a web interface hosted on the server is an implementation decision, and as such it is properly the responsibility of the solution architecture.
In the case of an enterprise architecture, trying to define all the expected components and connections among the various systems and applications in the enterprise is at odds with the philosophy of the enterprise as a complex adaptive system. Furthermore, these definitions would be difficult to maintain over time in an Agile or DevOps environment where development teams are continuously updating systems independently of one another. No sooner might the enterprise architecture team document one set of components and connections than the development teams might change the system architectures, requiring an update to the enterprise architecture.
To be useful, an enterprise architecture should be a strictly limited reference architecture. It should include the models discussed in earlier chapters, with a focus on the things that are necessary to guide and constrain system and application developers in the effort to ensure the results of their work are collectively helping the enterprise achieve its goals. Most of this data will be relatively static and unchanging except for planned periodic updates.
One of the most important things the enterprise architecture should define is one or more controlled vocabularies that implementation teams should use to describe their system functionality, their interfaces, and the data that flows across those interfaces. For example, the enterprise architecture might specify that interfaces are described using a combination of communication protocols and port numbers (e.g., “https over port 8443”).
Other important models may provide exact specifications of the processes that the enterprise must follow with enough detail that the implementing systems meet the requirements of the laws, regulations, or policies that prescribe those processes. When constructed in this way, the enterprise architecture is not a blueprint for developers to implement but rather a set of guidelines that system implementers will use to ensure they are working toward achieving the enterprise’s goals as they design and implement their systems.
Solution Architecture
A solution architecture specifies how a specific system (or system of systems) should be constructed and operated. Where a reference architecture provides general guidelines, a solution architecture provides specific instructions. It is the detailed implementation design that explains the internal workings of the system.
The primary goal of the traditional practice of enterprise architecture is the eventual development of a solution architecture. The solution architecture is the result of all the decomposition that the traditional enterprise architecture frameworks advocate. While development teams need that implementation detail, it is beyond the scope of the enterprise architecture and should not be included in it. There should be a clean break between the enterprise architecture and the solution architectures.
There is a one-way relationship between a solution architecture and an enterprise architecture. The enterprise architecture documents the goals of the enterprise, the anticipated processes needed to achieve those goals, the data produced and consumed within the enterprise, the relationships among systems within the enterprise, and the other factors that make up the models described in Chapters 4 and 5 . The solution architecture uses the enterprise models as inputs and derives specific system implementations from those models. The solution models must conform to the constraints established in the enterprise architecture, such as using terms from the controlled vocabulary to describe system functions. In that respect, a solution architecture must trace its design elements back to those portions of the enterprise architecture from which it was derived by the implementation team.
The reverse is not true: The enterprise architecture does not specify which individual systems implement a given function. That would be too much detail, and would defeat the goal of treating the enterprise as a complex adaptive system. In other words, the enterprise architect is not concerned with how any given business process is implemented provided the enterprise is meeting its stated goals. Whether the process uses a collection of three different automated information systems or an efficient team of seven human beings is irrelevant to the enterprise architect or senior enterprise leadership; their concern is achieving the enterprise’s goals. The details of process implementation is highly relevant to the lower-level managers responsible for implementing the processes to achieve those goals. These managers are the ones who must improve efficiency, lower costs, and take other actions to achieve enterprise goals, and so they are in the best position to deal with implementation details.
By trying to decompose from the enterprise level all the way to the solution architecture details, traditional enterprise architecture frameworks have gotten bogged down in too much detail and lost the focus on their primary purpose. Modern development techniques, combined with the increased agility that businesses need to survive in today’s dynamic marketplace, make such top-down control impractical. Traditional enterprise architecture frameworks are still useful for developing solution architectures, but they are unsuited to the needs of modern enterprise architecture and the enterprise architect must remain keenly aware of that distinction.
Bounding by Time
One of the flawed assumptions of traditional enterprise architecture frameworks is that an architecture is an enduring artifact. In practice, all architecture is ephemeral. Where a properly constructed reference architecture may endure for some notable time (perhaps as long as a year), any other architecture should be treated as a transient artifact with limited long-term utility.
An architecture is a fundamentally temporal artifact. Whether it is an enterprise architecture or solution architecture, it will describe one of two periods. The architecture will either reflect some desired end state of the enterprise or system (an objective or “to-be” architecture) or reflect the current state of the enterprise or system (an “as-is” architecture). Anything else is unimportant and potentially misleading.
Every architecture artifact must include a reference to the time the architect created it and the intended purpose of the architecture. A to-be architecture should have some planned future that it represents, and an as-is architecture should have some defined instant in time it reflects. Any architecture artifact without some statement of the time that it represents is of almost no use as a management tool for directing the enterprise because there is no way to tell if it is currently accurate.
As-Is Architecture
An as-is architecture is an utterly ephemeral product. The validity of an as-is architecture is limited by the ability of an architect or developer to accurately document the current state of an enterprise or system as it is currently operating. In addition, the as-is architecture potentially becomes inaccurate the moment a configuration change or system patch is applied. Outside the limited realm of systems built using model-driven architecture or other methodologies for automatically generating source code from a model, you cannot rely on the original design as an accurate reflection of the system or enterprise as it exists in the present.
The reality of system implementation is that no architecture survives contact with the development team. Even the most carefully considered designs face unexpected difficulties during implementation. Components built to the same standard do not interoperate as expected, user requirements change, or some other factor upsets the carefully laid plans of the architect, and the development team changes the implementation to adapt. In the vast majority of cases, few developers update the architecture from the as-designed state to reflect the as-built system. Even if the development team updates the architecture to reflect the system as built, postfielding system updates will result in a functioning system that differs from the documentation in significant ways.
The most obvious way that a fielded system will differ from the designed system is through software updates. System administrators may update an individual component or a number of interrelated components at the same time. The result is usually a system with different capabilities (and potentially different vulnerabilities) than the ones in the original system design. Even a configuration change, such as switching the authentication mechanism from a local username-and-password pair to a central credential management system, will affect how the system functions and potentially whether and how it helps the enterprise achieve its goals. The systems within the enterprise are in a continual state of flux, and the state of the enterprise today will not necessarily be the state of the enterprise tomorrow, or next week, or next month.
If every system in the enterprise is constantly changing, it would seem that the task of updating as-is architectures is insurmountable. In years past, it would have been a daunting challenge requiring a sizable dedicated staff of modelers. However, the sophisticated cyberthreats that have emerged over the past few years offer an unexpected source of help that can alleviate this burden. Commercial cybermonitoring software does a remarkable job profiling, inventorying, and documenting system configurations as part of the effort to detect unauthorized modifications. The enterprise architect can reuse this information to generate a snapshot of a system at any given time.
Application log and system log analysis tools provide the architect with valuable insight into how actors are using systems within the enterprise, and provide a record of how data moves among systems as well as into and out of the enterprise. This provides a depiction of how the system is actually used, as opposed to how it was designed to be used. For example, corporate travel systems are often designed for a workflow where an employee creates a travel itinerary that must be approved by that person’s manager; some systems have a feature where employees may delegate authority to create their itinerary to an executive assistant. In practice, managers may also delegate their approval authority to their executive assistants. Regardless of how the system was designed to function, this is how it is being used.
By combining the system snapshots with data flow information from log files, the architect can create an accurate picture of how the enterprise is functioning at a moment in time. Aggregating several of these snapshots taken at different times reveals some of the emergent behaviors of the enterprise and shows trends and patterns of activity across the enterprise.
To-Be Architecture
A to-be architecture has a longer shelf life than an as-is architecture, but it is still an artifact with a limited lifespan. The purpose of the to-be architecture is to describe the intended future state of the enterprise. The enterprise architecture team and senior management use this description to develop a plan that aims to transform the enterprise from its current state into the future state. To give the transition plan the best chance of succeeding, the architecture team should base the to-be architecture on a reasonably accurate understanding of the current state of the as-is architecture.
Because the enterprise and the systems within it are in a constant state of flux, the to-be architecture and its associated transition plan are only valid for a relatively short period. The to-be architecture must be a living artifact, updated as the enterprise updates systems and enterprise goals. Furthermore, the architecture team must update the to-be architecture as new behaviors emerge in the enterprise and as old behaviors evolve.
The plan to get the enterprise from its current state to the state described by the to-be architecture usually involves updating existing systems or creating new systems. That means development teams will be creating new solution architectures. Because those solution architectures will not survive contact with the developers, it will be necessary to create new as-is and to-be architectures after implementation teams have completed the system updates. In a DevOps environment, the changes will be even more frequent and regularly updating as-is and to-be architectures will be even more important.
A to-be architecture is a moving target, and the architecture team must update it regularly to ensure the architecture remains relevant to the enterprise. An architecture may express the enterprise’s intended state three years in the future, but that three-year period has an end date. If the objective architecture created in 2014 describes the intended state of the enterprise in 2017, that architecture is no longer an objective architecture in 2018. At best, it is a historical artifact. Ideally, the enterprise will have achieved the goals that the architecture represents. If not, then leadership needs to update the enterprise goals and the enterprise architecture team needs to update the to-be architecture to reflect planned changes based on the current situation.
Creating Models
Now that we have defined the models that should make up an enterprise architecture and the need to properly scope your architecture, we have the necessary context to discuss the real meat of enterprise architecture: creating architecture models. The mechanics of creating the models is not difficult, though it does require attention to detail and a thorough understanding of the selected modeling language. It also requires the architect to put some thought into structuring the architecture, including how large or small individual models will be and how they will be grouped.
Regardless of the modeling language or tool that you select, it is important that you link the different models to each other where they overlap. For example, when you have a model of a system and its interfaces and a model of the data each of those interfaces produces or consumes, the model of the system should include a direct link from each relevant interface to the corresponding data model. In the same fashion, a process or behavior model should include explicit links between activities in those models, the actors who perform those activities, and the systems that those actors use. This linking is critical to enable enterprise-scale analysis of the architecture. Only by linking related models will you be able to analyze the impact of a potential change on the enterprise. If you do not link your architecture models, then you have no way of knowing which processes will be affected by a change in a given system, or which systems may require an update if a data format changes.
You will have to develop many of your models manually because there is no other way to generate them than to have a human create them. Enterprise goals, processes, and data models are all examples of models that you may have to create as part of developing an enterprise architecture. External organizations may develop and maintain some of these models, especially models of standardized data formats, but they are still manually developed models for our purposes. These are the models you create and link together to form your architecture. Taken together, these manual models will form the backbone of your enterprise architecture. However, there are also additional models that put muscles onto the basic skeleton and make your enterprise architecture a valuable management tool.
It is possible for the architect to manually create models that describe the emergent behaviors in the enterprise. But just because something is possible does not mean it is advisable; it may not even be practical. A key characteristic of emergent behaviors is that they arise spontaneously, making it difficult to predict where and how they will arise and what parts of the enterprise will be involved. Instead of trying to capture behaviors manually, it would be much better if we could capture those behaviors automatically. The same cybermonitoring systems that we can leverage to generate the as-is architecture can reveal the emergent behaviors of the enterprise as well. By capturing the actions of actors and the data exchanges among systems, we can capture those emergent behaviors with enough detail to generate an accurate model of the behaviors. Depending on the size of the enterprise and the amount of monitoring information you gather, you may find it useful to create small applications that will convert the output of the cybertools into your selected modeling language or into a format that your modeling tool can import. This will significantly reduce the amount of work it takes to build an accurate behavior model.
Creating behavior models in this way may sound like a daunting task at first, but there are two things to keep in mind about these models. First, you do not need to model every emergent behavior in the enterprise. You only need to model those emergent behaviors that relate to the enterprise’s goals. Ideally, most of these behaviors will positively contribute to the enterprise’s goals, but some behaviors may detract from them. Either way, the behaviors you choose should interest the enterprise architecture team and senior leadership; other behaviors are less important and should have a lower priority. Second, remember that your behavior models do not need to be perfect; they only need to be accurate enough to understand whether the enterprise is making progress toward achieving its goals. Recall from earlier chapters that all models are wrong. Your behavior models only need to be correct enough to suit their purpose; additional detail is irrelevant.
Modeling Languages
Before you can create a model , you must select a modeling language. That much is obvious; what is not obvious is which modeling language to choose from the many available. An exhaustive discussion of the available modeling languages is beyond the scope of this book, but a brief review of the most common modeling languages will be helpful. There are some modeling languages that are either unique to a specific tool or are designed to support a specific architecture framework. These languages may be usable for your enterprise architecture, but before you select one of them make sure you fully understand the limitations and can live with them. In the discussion that follows, I limit my remarks to languages that are tool- and framework-independent.
A modeling language is a tool, nothing more and nothing less. A modeling language is just as much a tool to the architect as a hammer is a tool to the carpenter or a wrench is a tool to an auto mechanic. Like physical tools, modeling languages are specialized, and any modeling language is more suited to some modeling tasks than others. Despite what vendors and language developers may claim, no one language is suitable for all modeling tasks. There are no silver bullets. Even if there were a silver bullet solution, any child can tell you that silver bullets only work against werewolves; you must fight vampires and other monsters with different tools.
As you read about the modeling languages in the paragraphs that follow, keep in mind the discussion from earlier chapters that a model is a formal specification. There is nothing in that definition about a specific language. You can create a model using any formalism that works for the task you need to accomplish. If you are so inclined, you can create an architecture model as a computer program using a language such as C, Java, Python, or any other Turing-complete programming language. After all, they are formal representations. Most of the time, you will find it much easier to use graphical-modeling languages that were designed for modeling systems and architectures, but do not hesitate to use other languages when they are better suited to your modeling needs.
In practice, you will likely get your best results by using a combination of languages. Most modern modeling tools support more than one language, either natively or through add-on modules. Each modeling language has its strengths and weaknesses, and each is better suited to creating some models than others. In the sections that follow, I give a brief overview of some of the more common modeling languages together with some thoughts on where they are best used in developing a useful architecture.
Unified Modeling Language
The UML originated as a means for software developers to express their designs in a common graphical format, and its primary use is still in software development. It includes elements common to designing object-oriented software, including classes, interfaces, parameters, use cases, and the like. UML is a standardized language, published and managed by the Object Management Group (OMG) , an international technology standards consortium. Over the years, OMG has updated UML to adapt to changing software development practices, but it is still fundamentally a software-modeling language.
An architect can use UML to create any of the models needed for a complete enterprise architecture, but UML’s software design heritage may result in some cases where the model is not as precise as you would like. Because UML is a formal language, with well-defined syntax and semantics, UML does support automated analysis of models defined in UML. However, because UML is defined as a graphical language, any support for automated UML analysis is a feature of the modeling tool and is usually not separable into a stand-alone utility. Creating a custom tool to do UML analysis is a significant undertaking and will require the enterprise to devote significant resources to the task. There is an XML representation of UML, the XML Metadata Interchange (XMI) format published by OMG. However, XMI is designed to support the exchange of UML diagrams across modeling tools, and its focus is on the graphical representation of the model more than the structure; it is not easy to use for automated analysis.
Standard UML elements like classes and interfaces are very suitable for modeling systems and interfaces (that is what they were designed for), but I find the language less suitable for modeling systems-of-systems, data, and processes. The liberal use of stereotypes to create tailored UML profiles helps when modeling systems-of-systems and data, but I find the UML Activity model is not well suited to modeling processes and behaviors.
You can use UML Activity models to model processes and behaviors, but the resulting model is likely to contain ambiguities in the process that you will need to clarify in some other way. In particular, UML Activity models have limited support for the details of decision points and for defining the creation or consumption of data artifacts from activities in the process.
UML is very suitable for modeling actors, systems, and aspects of the environment. When modeling processes and behaviors, I prefer to use a language with better support for describing decision points, as well as good support for describing data artifacts that are used in the process.
Systems Modeling Language
Like UML, SysML is a product of the Object Management Group. SysML is not a distinct language from UML; it is a profile of UML. That is, it reuses parts of UML, modifies other parts of the language, and extends UML to create some new elements. As its name implies, OMG designed SysML for modeling general systems (as opposed to UML’s focus on modeling software systems), and it includes elements that are well suited to modeling physical and cyber-physical systems. OMG conceived SysML as a language to support the practice of model-based systems engineering (MBSE). MBSE is an engineering discipline where the focus is on developing detailed models that can be subject to automated analysis for completeness and correctness before implementation teams build the system.
Because it has a broader scope than UML, SysML is better suited for most enterprise architecture models. In particular, SysML includes a type of model called a Parametric model. Parametric models allow the modeler to define constraints on systems and interfaces and to check conformance of the model to those constraints. A good modeler can do the same thing with standard UML, but it requires the modeler to create a highly detailed UML profile that amounts to a re-implementation of SysML.
One of the motivating factors in creating SysML was the ability to run automated analysis of a model to ensure conformance to constraints and other factors. As a result, SysML modeling tools usually support automated analysis of SysML models. However, that support is generally a feature of the modeling tool, and not usable as a stand-alone module. Like UML, SysML is defined as a graphical language, so creating a custom analysis tool is not a trivial undertaking. XMI can also be used to represent SysML, so it is portable across tools.
Its UML heritage gives SysML some of the same strengths and weaknesses as UML. This is especially true when modeling processes and behaviors. SysML does not appreciably extend the UML activity model, and so it suffers from the same ambiguities as UML in that regard. For modeling processes and behaviors, I prefer the Business Process Model and Notation (BPMN).
Business Process Model and Notation
The BPMN language is another graphical modeling language published and maintained by OMG. Unlike UML and SysML, BPMN is not a general-purpose modeling language; it is a language designed specifically to model workflows and nothing else. BPMN has its roots in the business process engineering field, and it is poorly suited to modeling anything that is not a process. However, specialized languages have their place in modeling and you should use them where they are appropriate.
The initial version of BPMN was a purely graphical language, similar to UML and SysML in that respect. Many modeling tools include utilities that can analyze BPMN models. The publication of BPMN version 2 in 2011 included a formal XML syntax for representing BPMN in a machine-interpretable format. BPMN representation of XML is much less complex than XMI, with less of a focus on graphical representation. The result is a more compact XML representation that focuses on the model’s structure instead of its appearance. This makes it easier to create stand-alone custom analysis tools if you need them.
I prefer using BPMN to model processes and behaviors because it has a much richer set of elements for representing workflows than UML or SysML Activity diagrams. In addition to including a robust set of elements for depicting message exchanges, document creation and consumption, and other data artifacts, BPMN includes sophisticated decision point representations than can accurately describe an arbitrarily complex process if you need that level of fidelity in your model.
Many tools that support UML or SysML also support BPMN , and combining the two model types into the same architecture is usually simple. Most tools that support multiple modeling languages also include the means for linking elements of models created in different languages. For example, an activity in a BPMN model can include a link to the UML model of the system that performs that activity. However, a good modeling tool will not let you mix and match model elements from different languages in the same model; doing so would violate the rules of both modeling languages. For example, while you can link from a BPMN activity to a UML system model, you cannot use elements of a UML Activity diagram in your BPMN model.
Web Ontology Language
Most architects would not consider OWL an architecture modeling language, but I have found that OWL is very useful when modeling enterprise architectures. I use OWL for two primary purposes: modeling data and describing my architecture metamodel.
OWL is a derivative of the Resource Description Framework (RDF), a means for describing data and data models. 1 OWL uses RDF to encode a form of Description Logics, a family of knowledge representation languages developed to support machine reasoning. OWL has the means to define classes of things, the properties of those classes, and the relationships among classes. The primary use of OWL is to define the semantics of the objects it models, making OWL an excellent choice for defining data models. In order to analyze data, we must understand both the syntax and semantics of each element within it; this is true regardless of whether humans or machines conduct the analysis. Without this understanding, the analyst might misunderstand the data. By formally defining the data model using OWL, you can ensure that anyone, whether human or machine, can understand what each data element describes and how those elements relate to one another. Note that this does not mean any system has to store the data that way; systems just need to link their data storage formats to the OWL model.
In addition to modeling data, OWL is an excellent choice for describing your architecture metamodel. Technically, the architecture language you select will defines your language metamodel. Beyond that, you will most likely adopt certain modeling conventions for your architecture, such as using specific stereotypes for model elements, or naming conventions for relationships among elements. This helps keep your own enterprise model consistent, and provides a controlled vocabulary for system implementation teams to reuse in describing their system designs. By linking their models to the controlled vocabulary, system implementation teams will minimize miscommunication with the enterprise team and with each other. For example, if one team uses the stereotype “external interface” to describe any interface that its system exposes to other systems, and another team uses “external interface” to describe interfaces provided by other systems, there will be confusion when trying to discuss interfaces. Defining a separate controlled vocabulary that implementation teams align with will minimize this kind of confusion.
It is also possible to use OWL for other enterprise architecture modeling tasks. I have used it to define an enterprise model that captures the details of fielded systems as reported by cybermonitoring tools and links that information to the enterprise architecture originally defined using UML. I exported the UML model from the original modeling tool and converted it into OWL, then imported the data harvested from the cybermonitoring tools. The result was a comprehensive enterprise model that links the as-is and reference architecture elements, yielding an accurate picture of the current state of the enterprise. Because I defined the architecture in OWL, those who use standard off-the-shelf machine reasoning engines can evaluate the entire model for consistency with the reference architecture in a few seconds. This configuration also makes it simple to identify how many instances of a given software package are deployed in the enterprise, how many systems expose a web interface, and complete other portfolio management tasks.
Modeling Tools
In addition to selecting a modeling language, you will also have to select a modeling tool . Trying to create a formal architecture model by hand would be extremely difficult in any language, especially for graphical languages such as UML and SysML. Whether you select a modeling language and then choose a tool that supports that language or you select a tool and then choose a language supported by that tool is not important. What matters is that you select a formal language and a tool that supports it.
For the most part, commercial modeling tools all have the same level of support for a given language. All tools that support SysML support the full SysML specification. Where tools differ is in their ease of use and in their extra features. Some include utilities that make it easy to create customized profiles of your selected modeling language, and others require that you write out your profile using a text a notation such as XML. Some tools include advanced analysis capabilities such as the ability to run a simulation of a system design. While an enterprise architecture should not include enough detail of individual systems to make the model executable, the enterprise may want to adopt a common tool for use by all architecture efforts. In that case, support for simulations may be an important consideration when selecting a modeling tool.
In addition to commercial modeling tools, there are a number of open-source modeling tools available. Like their commercial counterparts, many open-source tools have good support for their selected languages, differentiating themselves based on other features. In addition, like many other open-source software initiatives, modeling tools vary in their level of maturity and the completeness of their feature set. I have used a number of open-source modeling tools with good results, and many of them have great features.
Regardless of which modeling tool you select, it is advisable to choose one that fully supports both your selected modeling language and an industry standard model import and export format. The most common model interchange standard is XMI , which supports UML and SysML. Other model interchange formats are also available. For example, tools that support the Department of Defense Architecture Framework (DoDAF) and Ministry of Defense Architecture Framework (MoDAF) usually support the Physical Exchange Specification (PES) defined as part of the Unified Profile for DoDAF and MoDAF (UPDM). Selecting a modeling tool that supports a commonly used model interchange format will give you the flexibility to change modeling tools without having to rebuild all your models from scratch.
Model Sizing
After you’ve selected a modeling language and a modeling tool, you will face some practical considerations. One of the key considerations is how big to make your models. Except when you are modeling a very small enterprise, modeling your enterprise as a single, all-encompassing model will result in a large, unwieldy model that is difficult to maintain. Such a model will also make it difficult to spread work out among different members of the enterprise architecture team because most tools have trouble with multiple people concurrently editing a single model. Dividing the enterprise architecture into a number of smaller models alleviates this problem while also giving you an opportunity to organize the information in the model and make it easier to find things.
Dividing the architecture into multiple models does not mean dividing it across multiple files or multiple data repositories. That type of division would make it difficult to keep the links among the different models consistent. Dividing the enterprise architecture means creating multiple, linked models within the same enterprise architecture repository. The end result is a “model of models” where no one model depicts everything in the enterprise architecture, but different combinations of models represent different aspects of the architecture with sufficient detail to enable sound decision-making.
Traditional architecture frameworks divide models up into groupings centered on describing individual aspects of the architecture. These groups of models are termed “viewpoints,” “perspectives,” or a similar descriptive term. There is nothing wrong with thinking of your enterprise architecture along these lines, but you should not feel bound by such a conception of how to divide the architecture. You can just as easily divide your model up along business lines (sales, manufacturing, etc.). In reality, you will probably need a number of different representations to meet the needs of different stakeholders. Senior managers will want to see different groupings and details than integration engineers or system administrators.
Dividing your model up into smaller, more manageable models helps with both the maintainability of the model and the ability to customize views. Trimming down one large model to generate a custom view usually requires more work than combining a few smaller, carefully selected models into a larger view. Incidentally, this is another good reason to use models instead of diagrams for your architecture. Combining a number of pictures to create a single large picture involves a lot of manual work trying to include all of the elements from the original pictures and ensure nothing has been forgotten. Retrieving this information from a model can be done with a simple query, and most modeling tools will allow you to lay out a diagram that accurately depicts the model elements.
Still, this tells you very little about how big to make each model. As with so much else in enterprise architecture, the decision will primarily be a matter of judgment. My advice is to keep your models as small as possible while also keeping closely related items in the same model. You do not want a model to include several hundred elements if you can sensibly divide it into coherent modules of a couple dozen elements each. On the other hand, you do not want to keep track of hundreds of models that each have only a few elements.
A good approach would be to divide the data model into logical components —product specifications, ordering and fulfillment, or some other grouping that fits well with your business domain—instead of using a single all-encompassing data model. The ontology you created to model your enterprise data dictionary maintains links among the data elements. You can establish links among other types of models in a similar fashion. The size of each module and its contents will vary from enterprise to enterprise, and different modeling tools will have different utilities that can help decide how to divide your models.
Change Control
One of the most important considerations you will face in managing an enterprise architecture is managing change control. The difficulty of this task varies directly with the number of people on the enterprise architecture team and with the number of people using the enterprise architecture. When there are many people on the team, the chance of making conflicting changes increases significantly, and the more people there are who use the architecture, the more people there will be who want to change the architecture to make their own tasks easier. A proper version control system , with regular backups, is an essential feature of any code development system, and your architecture is really just a form of source code.
Most good modeling tools will have some means of change control, especially if they allow concurrent editing of the same model. For example, some tools require an architect to lock a model before making changes, ensuring that two people can’t make changes in the same model at the same time. Other tools use a version control system such as Git, where users have to check out the architecture before making any changes, and the person making the changes has to check the architecture back in before anyone else can see those changes.
While tool support for change management is a desirable feature, do not rely on those tool features as your primary means of change control. These features prevent accidental changes to the architecture; they do not ensure changes have been thought out and properly vetted with all stakeholders. There is no substitute for a formal change management process.
A formal change management process does not need to be a heavyweight, meeting-intensive affair. What it does need to be is documented and published, so that all stakeholders understand how to propose changes to the architecture, how the architecture team evaluates those changes, and who makes the decision about which changes are accepted and which are not. One of the easiest ways to manage architecture changes is through the type of defect reporting process used by many system development efforts. There are a number of commercial and open-source change management tools available, and most support some level of workflow customization that allows you to tailor the tool to fit the needs of your enterprise. Tools like this make it feasible to manage the entire change control process with the tool, eliminating the need for meetings to discuss proposed changes. You can still hold such meetings, and meeting in person may help keep emotions from running too high when the architecture team rejects a proposed change. It is also worth keeping in mind that on large products, meeting in person to collaborate on proposed changes often helps ensure all impacts of the proposed change have been considered.
Regardless of whether you use a change management tool or a simple spreadsheet and whether you discuss proposed changes over e-mail or in person, it is important that you keep a written record of the changes. A written record of proposals for changes and their disposition can be invaluable when trying to determine the reason the architecture has evolved into its current form, and a formal change control process helps ensure that the evolution is carefully considered. Your enterprise architecture will change, but it should not undergo frequent radical changes. It is up to you to manage the rate of architecture change in a way that gives system implementers and the enterprise at large time to adapt.
Summary
One of the reasons the practice of enterprise architecture needs to change is because the practice of system development has changed radically over the past 30 years. As recently as 15 years ago, developing a new system meant creating libraries and utilities from scratch because they were based on new technology or the algorithms they used were not yet well established. Today, most of the components needed to implement a new system are available from a number of prepackaged libraries or commercial tools. There is very little that a developer needs to design from the ground up, and so there is rarely a need for an enterprise architecture that starts from a very abstract level and decomposes to implementation-level detail.
The enterprise is a constantly evolving ecosystem where systems change independently of each other, business needs change regularly, and people discover new and more efficient ways of completing their tasks. That is, the enterprise is a complex adaptive system. Trying to model any dynamic enterprise from the top down is a losing proposition; the enterprise will change faster than the architects can update their models.
We can combat this by treating architecture as an ephemeral thing. The enterprise architect should establish a simple reference architecture consisting of those elements that should endure for a year or more: controlled vocabularies, process models describing legally mandated tasks, and similarly stable artifacts. The architect should create other artifacts as needed for a specific purpose, use them for that purpose, and discard them afterward.
The architect should develop an objective or “to-be” architecture as a means to solve a specific enterprise problem; for example, when the timekeeping system cannot interface with the payroll system. That to-be architecture should be based on the most recent as-is architecture possible, and the best way to capture the as-is architecture is to look at the structure and configuration of systems as they exist on the network. In most enterprises, the same tools used to protect against cyberthreats produce the data needed to generate an accurate, up-to-date picture of the as-is architecture. Once the enterprise architect has decided on what changes to make to solve a current problem, the architect can discard those architectures. When it is time to solve the next problem, the architect can create a new as-is architecture and a new to-be architecture that depicts the changes that will solve the problem.
Regardless of how the architecture team creates models, it must document them using a formal modeling language to support automated analysis and consistency checking. There are many such languages available, including UML, SysML, and BPMN. When selecting a language, the architect should choose one that is framework-independent to ensure that the architecture team has enough flexibility to model the enterprise according to the enterprise’s needs and not the tool developer’s preconceptions. The architect should also consider using specialized modeling languages such as OWL to create supporting models such as data dictionaries.
Selecting a modeling language is not enough; the architect must also have an adequate modeling tool. Documenting an architecture in a formal language without the help of a tool is nearly impossible. Most commercial and open-source tools support an array of common modeling languages, and most include analysis utilities that help the architecture team get the most use out of the detailed models they have created. Different tools have different features. When choosing a tool, it is important to ensure the tool supports a standardized model import-and-export format to facilitate sharing the architecture with development teams and to prevent vendor lock-in.
Creating a single, all-encompassing architecture model will yield an artifact that is too large for anyone outside the architecture team to understand and analyze. It is best to break up the architecture into smaller models that link to one another. This will keep individual models at a manageable size while still enabling analysis of the entire architecture. Controlling changes to each model and to the entire architecture is vital to ensuring the consistency and predictability of the architecture.
Footnotes
1
This a grossly simplified description of RDF, but a more detailed description is beyond the scope of this book. For more information, see the RDF specification at www.w3.org/TR/rdf11-concepts/ .