A system is a purposeful set of interrelated components. System engineering specifies, designs, integrates, installs, evolves and finally retires systems that combine hardware, software, people and processes — the context in which every software project lives.
Medium 40 minSyllabus: “System modeling, system engineering process”
Mark as
The idea in one minute
A housing colony is more than its flats: roads, water pumps, wiring, the residents' association and the parking rules together make it work — or fail. A computer-based system is the same. The Housing Board's loan system is not just code; it is servers, network links, clerks, forms, Government Orders and applicants, all interacting. Qualities like 'reliable' or 'easy to use' belong to the whole colony, not to any single brick. System engineering is the discipline of planning, building, joining and eventually retiring that whole.
Key points — the night-before list
System = interrelated components organised to work together for a common purpose; a socio-technical system adds people, processes and organisational policies to hardware and software.
Emergent properties belong to the whole system — reliability, security, usability, performance, repairability, volume — and cannot be read off any single component.
Socio-technical stack, bottom → top: equipment, operating system, communications & data management, application system, business processes, organisation, society.
System engineering process: requirements definition → system design → sub-system development → integration → installation → evolution → decommissioning (largely waterfall-like).
Architectural (block-diagram) models show sub-systems and links; component classes: sensor, actuator, computation, communication, co-ordination, interface.
Legacy system = older socio-technical system the business still depends on; procurement chooses off-the-shelf (COTS) vs bespoke; wicked problems (Rittel & Webber, 1973) have no definitive specification.
01Systems, components and the running case study
A system is a set of interrelated components organised to work together towards a common purpose. The components may be hardware, software, people, procedures or even other systems; what makes them a system is that they interact, and that the combination does something none of them can do alone. A paper loan register, a clerk and a rubber stamp already form a (manual) system.
Systems are hierarchical: a sub-system is itself a system, and every system sits inside a larger one that forms its environment. A flat's wiring sits inside the building's services, which sit inside the housing colony, which sits inside the municipality. The environment supplies inputs, imposes constraints (laws, budgets, climate) and is changed by the system, so a system can never be understood in isolation from it.
Technical computer-based system
Hardware and software only
Operators and operational processes are not part of the system
Examples: a smartphone, a word processor, a TV set-top box
Its objectives are whatever its user wants to use it for
Socio-technical system
Technical systems plus people and operational processes
Governed by organisational policies, rules and laws
Examples: a bank's core-banking operation, railway reservations, HLAMS
Judged against the objectives of the organisation that owns it
Emergent properties — properties of the whole that depend on how the parts interact (next section).
Non-deterministic behaviour — because people are part of the system, the same input does not always produce the same output: a clerk may be tired, a rule may be read differently.
Complex relationship with organisational objectives — whether the system 'works' depends on stable goals; if management changes priorities, a perfectly built system can still be judged a failure.
Running case study — HLAMS
Throughout Module 8 we follow the Kerala State Housing Board's Housing Loan & Allotment Management System (HLAMS) — hypothetical but realistic. Applicants register and apply online; district-office clerks scrutinise documents; officers sanction and disburse loans; EMIs are collected through banks and a payment gateway; flats and plots in Board schemes are allotted by a transparent computerised draw; arrears are tracked and recovery notices issued; management gets MIS reports. HLAMS runs on data-centre servers, district-office PCs and a state-wide network, and it is shaped by Government Orders, audit rules and the people who use it.
02Emergent properties
An emergent property is a property of the system as a whole that cannot be attributed to — or simply calculated from — any single component. It emerges from the way the components are combined and interact. A bicycle becomes a means of transport only when its parts are assembled correctly; no individual part 'transports'.
Sommerville separates functional emergent properties — the purpose of the system appears only when all the parts work together, as with the bicycle — from non-functional emergent properties, which describe how the system behaves in its environment. The non-functional ones are often critical: a system that fails them may be unusable even though every feature exists.
Emergent property
Meaning for the whole system
HLAMS illustration
Reliability
Delivers its services as specified over time; depends on hardware, software and operators together
Month-end EMI posting must not fail even if one bank's file arrives corrupted
Security
Resists accidental or deliberate attack; one weak link breaks it
A strong login is useless if a district PC is left logged in during lunch
Usability
How easily people learn and operate it — depends on the users and their setting too
A screen that suits head-office staff may confuse a rural applicant using a phone
Performance
Response time and throughput under real load — an interaction of hardware, software and network
Draw results must publish in seconds although lakhs of applicants refresh the page
Repairability
How easily a problem is diagnosed and fixed once it appears
Needs logs, spare parts, skilled staff and access to the source code
Volume
Total space occupied — depends on how components are arranged and connected
Rack space, cabling and cooling in the data centre
Reliability is the classic example. It depends on three intertwined factors: hardware reliability (how likely a component is to fail and how long repair takes), software reliability (how likely the software is to produce a wrong output) and operator reliability (how likely a person is to make an error). Failures propagate across these boundaries — a failing disk produces odd data, the software reacts unexpectedly, and a stressed operator takes a wrong action. Reliability also depends on context: the same system can be reliable in an air-conditioned office and unreliable in a humid site office.
If the service works only when every one of k independent elements works:
R(system) = R₁ × R₂ × … × Rₖ
hardware 0.99 × software 0.98 × operator 0.97 ≈ 0.941
The whole is less reliable than its weakest element.
A simple series illustration. Real system reliability also needs redundancy, procedures and the operating context to be considered.
PSC pattern
'Which of the following is an emergent property?' — expect reliability, security, usability, performance, repairability or volume. Anything that belongs to one part — a CPU's clock speed, the lines of code of one module, the colour of a screen — is not emergent. Safety and security are largely 'shall not' properties (the system must not do something), which makes them hard to measure directly.
03Socio-technical systems: the seven-layer stack
Sommerville pictures a socio-technical system as a stack of layers. Each layer uses the services of the layer below and offers services to the layer above; the higher you go, the more 'social' the layer becomes. Software engineering traditionally concentrates on the middle layers, but many requirements — and many failures — originate at the top.
Higher-level strategy, rules and policies of the enterprise
Board resolutions, delegation of financial powers, office procedures
7. Society
Laws, regulations and culture that govern the organisation
Government Orders, audit rules, RTI Act, data-protection law
Because the layers are coupled, change ripples. A new Government Order on interest subsidy (society) changes the Board's rules (organisation), then the sanction procedure (business process), then the EMI computation (application) and possibly the database (data management). In the other direction, an operating-system upgrade can ripple upward and break a working application. Good system engineers trace such ripples before they happen.
Organisations, people and processes. Introducing a computer system changes how people work, so human and organisational factors are part of the engineering: process changes (new procedures and retraining), job changes (old skills devalued, new skills needed, some staff lose status) and organisational changes (shifts in the power structure — whoever controls the data gains influence). Ignoring them produces resistance, and systems that are technically sound but quietly bypassed.
Memory aid — the stack bottom-up
Every Operator Can Apply Business Orders Sensibly → Equipment, Operating system, Communications & data management, Application system, Business processes, Organisation, Society.
04The system engineering process
System engineering covers the whole life of a socio-technical system — specifying it, designing and building it, validating and deploying it, and keeping it running. It is interdisciplinary: an air-traffic-control centre needs software, electronic, electrical, mechanical and civil engineers plus architects, ergonomists and user-interface designers — people who must understand each other's vocabulary and constraints.
Sommerville's system engineering process (largely sequential)
Requirements definition
State what the whole system must do: abstract functional requirements, required system properties (non-functional emergent properties such as availability or response time) and characteristics the system must not exhibit. Also define the organisational objectives — why the system is wanted at all.
System design
Decide how the components will provide the functionality: partition requirements, identify sub-systems, assign requirements, specify functionality, define interfaces (next section).
Sub-system development
Build or buy each sub-system — hardware, software, communications — often in parallel by different teams or suppliers. Off-the-shelf purchases are common at this stage.
System integration
Put the sub-systems together. Incremental integration (one sub-system at a time) is preferred to 'big-bang' integration because faults are far easier to locate. Interface mismatches surface here.
System installation
Deploy in the real environment: physical installation (power, cabling, air-conditioning), data take-on, operator training, coexistence with old systems and overcoming user resistance.
System evolution
Change the system over its long life as requirements and technology change. Changes are costly because sub-systems interact, design rationale is often unrecorded and the structure degrades with each change.
System decommissioning
Take the system out of service at the end of its useful life: dispose of hardware safely, archive or convert data for its successor, and retire the associated processes.
Why is this process usually waterfall-like? Different sub-systems are developed in parallel by different disciplines, hardware has long procurement lead times, and once hardware is ordered or a building is wired, going back is very expensive. There is little room for iteration between phases, so requirements and interfaces are frozen early.
Software as the 'flexible' part
Because software is easy to change, problems found late in hardware or elsewhere are often 'fixed in software'. Software engineers then inherit extra requirements near the end of the project — a classic cause of overruns. Plan for it rather than be surprised by it.
Wicked problems. Requirements definition is hardest when the problem is wicked (Rittel and Webber, 1973): so complex and so entangled with social factors that there is no definitive problem statement, no 'stopping rule' and no single correct solution — the problem is understood only as solutions are tried. Planning earthquake response, or removing the housing shortage in a state, are wicked; computing an EMI is not.
05System design: from requirements to sub-systems
System design is concerned with how the system's functionality will be provided by its components. Sommerville describes five activities. They are iterative in practice — designers move back and forth as they learn — but the logical order is fixed and is a favourite exam question.
The system design process
Partition requirements
Analyse the requirements and organise them into related groups. There are usually several possible partitionings; this step suggests options for the next one.
Identify sub-systems
Identify sub-systems that can, individually or collectively, meet the requirements. Requirement groups often map to sub-systems, but organisational or hardware factors may also shape the choice.
Assign requirements to sub-systems
Allocate each requirement to a sub-system. Straightforward in principle, messy in practice when off-the-shelf sub-systems are used, because they never match the requirements exactly.
Specify sub-system functionality
Define the specific functions each sub-system provides and the relationships between sub-systems. This may be part of design or of the sub-system requirements.
Define sub-system interfaces
Specify the interfaces each sub-system provides and requires. Once these are agreed, the sub-systems can be developed in parallel.
Requirement group (HLAMS)
Sub-system
Key interfaces
Registration, application, document upload, status tracking
Applicant Portal (web + mobile)
Requires Loan Processing services and identity verification
Scrutiny, eligibility, sanction, disbursement
Loan Processing
Provides application and loan services; requires Database, Notification
Scheme set-up, draw of lots, allotment letters
Allotment
Provides the draw service; requires Database and an audit log
EMI collection, bank reconciliation, receipts
Payments
Requires the payment-gateway callback and the banks' file format
SMS and e-mail alerts
Notification
Requires SMS-gateway and mail-server interfaces
Arrears, dashboards, statutory reports
MIS & Reporting
Read-only access to the database or a reporting copy
Requirements and design are intertwined. As design progresses, problems with the requirements appear (a requirement may be too costly with the chosen hardware) and new requirements arise. Sommerville draws this as a spiral — problem definition, requirements elicitation and analysis, architectural design, review — repeated until the design is acceptable.
Order to remember
Partition → Identify → Assign → Specify → Define interfaces ('Please Identify All Sub-system Dealings'). MCQs jumble these five steps; interfaces always come last, and grouping requirements always comes first.
06System modelling with architectural block diagrams
During requirements and design, a system is modelled as a set of components and the relationships between them. The most common system-level model is an architectural model drawn as a block diagram: each box is a sub-system, boxes inside boxes show decomposition, and arrows show that data or control signals pass between sub-systems. It gives an abstract overview that engineers from different disciplines can all read.
Alarm controller sequencing siren, lights and call
Workflow engine routing a file clerk → officer → approver
Interface
Transforms one component's representation into another's
Voice synthesiser turning a zone code into speech
Portal UI; converter between bank file format and HLAMS records
Block diagrams are deliberately simple. They show that sub-systems are connected, not the kind of relationship, the timing or the data format. Those details come from interface specifications and from the more detailed system models — context, data-flow, state, data and object models — covered in the system-models topic of this module.
07Legacy systems and system procurement
A legacy system is a socio-technical system developed in the past, often with older or obsolete technology, that the business still depends on. It is more than old code. Sommerville lists its components:
System hardware — possibly a mainframe or hardware no longer supported.
Support software — operating system, utilities, compilers, often unsupported versions.
Application software — usually several programs written at different times by different people.
Application data — large, inconsistent and duplicated across files.
Business processes — designed around the old system's capabilities and limitations.
Business policies and rules — constraints on how the business operates, often implemented only in code.
Replacing a legacy system is risky: there is seldom a complete specification, business rules are buried in the code, documentation is out of date and the business processes have adapted to the system's quirks. The management options — scrap, keep maintaining, re-engineer or replace — are covered in the evolution topic.
Off-the-shelf (COTS) system
Bought and configured; available quickly
Lower cost and risk; already proven at other sites
Requirements usually must be adapted to fit the product
Vendor controls its evolution; licensing and lock-in issues
e.g. a standard financial-accounting package for KSHB's accounts wing
Bespoke (custom-built) system
Specified and developed for the organisation, in-house or by a contractor
Fits unique processes and rules exactly
Higher cost, longer schedule, more project risk
The organisation owns the requirements and controls evolution
e.g. the allotment module implementing KSHB's own priority rules
System procurement (acquisition) is the process of obtaining a system for an organisation. Procurement decisions are made early because they shape both the requirements and the design. For an off-the-shelf purchase the organisation surveys the market, adapts its requirements and chooses a supplier. For bespoke development it issues a request for tenders based on a requirements specification, selects a tender, negotiates and lets the contract — and the requirements document often becomes part of that contract. Large systems are usually a mix of both, with a lead contractor who sub-contracts parts.
Tip
Buy when the need is common and the market mature; build when the need is unique, strategic or legally specific. Even a bought system needs system engineering — integration, data migration, training and evolution.
Worked examples
Try the problem first, then reveal the working one step at a time.
EX 1Running the system design process for HLAMS
KSHB's requirements include: online applications with document upload; scrutiny and eligibility checking; loan sanction and disbursement; EMI collection through banks and a payment gateway; allotment of flats by computerised draw; SMS/e-mail alerts; arrears and MIS reports. Apply Sommerville's five system-design activities.
EX 2Diagnosing which emergent property failed
Classify each HLAMS complaint: (a) on the last day of a scheme, applications take 40 s to submit; (b) rural applicants abandon the form at the document-upload step; (c) an insider altered a sanctioned amount without leaving a trace; (d) after a disk-controller failure it took four days to restore service because no one could find the spare or the logs; (e) month-end posting sometimes crashes when a bank file is malformed.
EX 3Buy or build? A procurement decision
KSHB needs (i) a financial-accounting package for its accounts wing and (ii) an allotment module applying the Board's priority rules (reservation categories, draw of lots, waiting lists). Recommend off-the-shelf or bespoke for each.
EX 4Tracing a change through the socio-technical stack
A Government Order grants a 2% interest subsidy to EWS applicants from 1 April. Trace which HLAMS layers are affected and in what order.
Practice session
Work each problem on paper first, then check. Marking one solved earns 10 XP.0/5 solved
Q1
List Sommerville's seven system-engineering stages in order. For HLAMS's predecessor — an old FoxPro-based loan ledger — what must be done during decommissioning?
Q2
Classify each component of a KSHB lift-monitoring system as sensor, actuator, computation, communication, co-ordination or interface: (a) door-position switch; (b) alarm bell in the car; (c) logic that decides a passenger is trapped; (d) GSM modem that calls the maintenance agency; (e) supervisory software that sequences bell, light and call; (f) module converting a fault code into a readable text message.
Q3
Give two reasons why the system engineering process is usually modelled as a waterfall rather than as an iterative process, and one consequence for software engineers.
Q4
An HLAMS counter transaction needs the PC hardware (reliability 0.995), the application software (0.99), the network link (0.98) and a correctly acting clerk (0.97) all to work. Assuming independence, find the transaction reliability. What does the result show?
Q5
Which of these is a wicked problem, and why? (a) computing the EMI for a ₹10 lakh loan; (b) deciding how a housing board should allocate scarce flats fairly across districts; (c) sorting applicants by date of application.
Exam traps
An emergent property is not a property of one component: the system can be less reliable (or less secure) than every one of its parts. An option naming a property of a single part — CPU clock speed, lines of code, a font — is not emergent.
System engineering covers the whole socio-technical system (hardware, software, people, processes); software engineering is one part of it. The system engineering process is waterfall-like even when the software inside is developed iteratively.
System design order: partition requirements → identify sub-systems → assign requirements → specify functionality → define interfaces. 'Identify sub-systems' is not first, and interfaces are defined last.
The final stage is decommissioning, not maintenance; evolution is the stage before it.
A legacy system is not just 'old hardware'. It includes support software, application software, data, business processes and business rules — and it is legacy precisely because the business still depends on it.
Editions differ: Sommerville's 6th/7th editions list emergent properties such as volume, reliability, security, repairability and usability; later editions add the seven-layer socio-technical stack. Both appear in exam questions.
Quiz — KPSC style
10 questions. 70 % passes the topic quiz (+30 XP, +20 more for 100 %). Exam scoring: +1 correct, −⅓ wrong.
System modelling & the system engineering process · Question 1 of 10✓ 0 · ✗ 0
An emergent property of a system is best described as a property that: