Network calculus is "a set of mathematical results which give insights into manmade systems such as concurrent programs, digital circuits and communication networks."^{[1]} Network calculus gives a theoretical framework for analysing performance guarantees in computer networks. As traffic flows through a network it is subject to constraints imposed by the system components, for example:
 link capacity
 traffic shapers (leaky buckets)
 congestion control
 background traffic
These constraints can be expressed and analysed with network calculus methods. Constraint curves can be combined using convolution under minplus algebra. Network calculus can also be used to express traffic arrival and departure functions as well as service curves.
The calculus uses "alternate algebras ... to transform complex nonlinear network systems into analytically tractable linear systems."^{[2]}
Currently, there exists two branches in network calculus: one handling deterministic bounded, and one handling stochastic bounds .^{[3]} This article is only about deterministic network calculus.
Contents
System modelling
Modelling flow and server
In network calculus, a flow is modelled as cumulative functions A, where A(t) represents the amount of data (number of bits for example) send by the flow in the interval [0,t). Such functions are nonnegative and nondecreasing. The time domain is often the set of non negative reals.
A server can be a link, a scheduler, a traffic shaper, or a whole network. It is simply modelled as a relation between some arrival cumulative curve A and some departure cumulative curve D. It is required that A ≥ D, to model the fact that the departure of some data can not occur before its arrival.
Modelling backlog and delay
Given some arrival and departure curve A and D, the backlog at any instant t, denoted b(A,D,t) can be defined as the difference between A and D. The delay at t, d(A,D,t) is defined as the minimal amount of time such that the departure function reached the arrival function. When considering the whole flows, the supremum of these values is used.
In general, the flows are not exactly known, and only some constraints on flows and servers are known (like the maximal number of packet sent on some period, the maximal size of packets, the minimal link bandwidth). The aim of network calculus is to compute upper bounds on delay and backlog, based on these constraints. To do so, network calculus uses the minplus algebra.
Minplus algebra
In filter theory and linear systems theory the convolution of two functions and is defined as
In minplus algebra the sum is replaced by the minimum respectively infimum operator and the product is replaced by the sum. So the minplus convolution of two functions and becomes
e.g. see the definition of service curves. Convolution and minplus convolution share many algebraic properties. In particular both are commutative and associative.
A socalled minplus deconvolution operation is defined as
e.g. as used in the definition of traffic envelopes.
The vertical and horizontal deviations can be expressed in terms of minplus operators.
Traffic envelopes
Cumulative curves are real behaviours, unknown at design time. What is known is some constraint. Network calculus uses the notion of traffic envelope, also known as arrival curves.
A cumulative function A is said to conform to an envelope (or arrival curve) E, if for all t it holds that
Two equivalent definitions can be given

(1)

(2)
Thus, E places an upper constraint on flow A. Such function E can be seen as an envelope that specifies an upper bound on the number of bits of flow seen in any interval of length t starting at an arbitrary τ, cf. eq. (1).
Service curves
In order to provide performance guarantees to traffic flows it is necessary to specify some minimal performance of the server (depending on reservations in the network, or scheduling policy, etc.). Service curves provide a means of expressing resource availability. Several kinds of service curves exists, like weakly strict, variable capacity node, etc. See ^{[4]}^{[5]} for an overview.
Minimal service
Let A be an arrival flow, arriving at the ingress of a server, and D be the flow departing at the egress. The system is said to provide a simple minimal service curve S to the pair (A,B), if for all t it holds that
Strict minimal service
Let A be an arrival flow, arriving at the ingress of a server, and D be the flow departing at the egress. A backlog period is an interval I such that, on any t ∈ I, A(t)>D(t).
The system is said to provide a strict minimal service curve S to the pair (A,B) iff, , such that , if is a backlog period, then .
If a server offers a strict minimal service of curve S, it also offers a simple minimal service of curve S.
Basic results: Performance bounds and envelope propagation
From traffic envelope and service curves, some bounds on the delay and backlog, and an envelope on the departure flow can be computed.
Let A be an arrival flow, arriving at the ingress of a server, and D be the flow departing at the egress. If the flow as a traffic envelope E, and the server provides a minimal service of curve S, then the backlog and delay can be bounded:
Moreover, the departure curve has envelope .
Moreover, these bounds are tight i.e. given some E, and S, one may build an arrival and departure such that b(A,D) = b(E,S) and v(A,D)=v(E,S).
Concatenation / PBOO
Consider a sequence of two servers, when the output of the first one is the input of the second one. This sequence can be seen as a new server, built as the concatenation of the two other ones.
Then, if the first (resp. second) server offers a simple minimal service (resp. ), then, the concatenation of both offers a simple minimal service .
The proof does iterative application of the definition of service curves , and some properties of convolution, isotonicity (), and associativity ().
The interest of this result is that the endtoend delay bound is not greater than the sum of local delays: .
This result is known as Pay burst only once (PBOO).
Tools
There are several tools based on network calculus.
 The DiscoDNC is an academic Java implementation of the network calculus framework.^{[6]}
 The RTC Toolbox is an academic Java/MATLAB implementation of the RealTime calculus framework, a theory quasi equivalent to network calculus.^{[4]}
 The CyNC ^{[7]} tool is an academic MATLAB/Symulink toolbox, based on top of the RTC Toolbox. The tool was developed in 20042008 and it is currently used for teaching at Aalborg university.
 The RTaWPEGASE is an industrial tool devoted to timing analysis tool of switched Ethernet network (AFDX, industrial and automotive Ethernet), based on network calculus.^{[8]}
 The Network calculus interpreter is an online (min,+) interpreter.
 The WOPANets is an academic tool combining network calculus based analysis and optimization analysis.^{[9]}
 The DelayLyzer is an industrial tool designed to compute bounds for Profinet networks.^{[10]}
 DEBORAH is an academic tool devoted to FIFO networks.^{[11]}
 NetCalBounds is an academic tool devoted to blind & FIFO tandem networks.^{[12]}^{[13]}
 The Siemens Network Planner (SINETPLAN) uses network calculus (among other methods) to help the design of a PROFINET network.^{[14]}
References
 ^ Le Boudec, JeanYves; Thiran, Patrick (2001). Goos, Gerhard; Hartmanis, Juris; van Leeuwen, Jan (eds.). Network Calculus: A Theory of Deterministic Queuing Systems for the Internet. Lecture Notes in Computer Science. 2050. doi:10.1007/3540453180. ISBN 9783540421849.
 ^ Jiang, Yuming; Liu, Yong (2009). Stochastic Network Calculus. CiteSeerX 10.1.1.725.5561. doi:10.1007/9781848001275. ISBN 9781848001268.
 ^ Fidler, M. (2010). "Survey of deterministic and stochastic service curve models in the network calculus". IEEE Communications Surveys & Tutorials. 12: 59–86. doi:10.1109/SURV.2010.020110.00019.
 ^ ^{a} ^{b} Bouillard, Anne; Jouhet, Laurent; Thierry, Eric (2009). Service curves in Network Calculus: dos and don'ts (Technical report). INRIA. RR7094.
 ^ Bouillard, Anne; Jouhet, Laurent; Thierry, Éric. Comparison of Different Classes of Service Curves in Network Calculuswith (PDF). 10th International Workshop on Discrete Event Systems (WODES 2010). Technische Universität Berlin.
 ^ Bondorf, Steffen; Schmitt, Jens B. (2014). The DiscoDNC v2 – A Comprehensive Tool for Deterministic Network Calculus (PDF). 8th International Conference on Performance Evaluation Methodologies and Tools (VALUETOOLS 2014).
 ^ Schioler, Henrik; Schwefel, Hans P.; Hansen, Martin B. (2007). CyNC: A MATLAB/SimuLink Toolbox for Network Calculus. 2nd International Conference on Performance Evaluation Methodologies and Tools (ValueTools '07).
 ^ Boyer, Marc; Migge, Jörn; Fumey, Marc (2011). PEGASE, A Robust and Efficient Tool for Worst Case Network Traversal Time (PDF). SAE 2011 AeroTech Congress & Exhibition.
 ^ Mifdaoui, Ahlem; Ayed, H. (2010). WOPANets: A tool for WOrst case Performance Analysis of embedded Networks. 15th IEEE International Workshop on Computer Aided Modeling, Analysis and Design of Communication Links and Networks (CAMAD). doi:10.1109/CAMAD.2010.5686958.
 ^ Schmidt, Mark; Veith, Sebastian; Menth, Michael; Kehrer, Stephan (2014). DelayLyzer: A Tool for Analyzing Delay Bounds in Industrial Ethernet Networks. 17th Int. GI/ITG Conf. on Measurement, Modelling, and Evaluation of Computing Systems and Dependability and Fault Tolerance (MMB & DFT 2014). doi:10.1007/9783319053592_19.
 ^ Bisti, Luca; Lenzini, Luciano; Mingozzi, Enzo; Stea, Giovanni (2012). DEBORAH: A Tool for WorstCase Analysis of FIFO Tandems. International Symposium On Leveraging Applications of Formal Methods, Verification and Validation. doi:10.1007/9783642165580_15.
 ^ Bouillard, Anne; Stea, Giovanni (October 2015). "Exact worstcase delay in FIFOmultiplexing feedforward networks". IEEE/ACM Transactions on Networking. 23 (5): 1387–1400. doi:10.1109/TNET.2014.2332071.
 ^ Bouillard, Anne; Éric, Thierry (September 2016). "Tight performance bounds in the worstcase analysis of feedforward networks" (PDF). Discrete Event Dynamic Systems. 26 (3): 383–411. doi:10.1007/s1062601502132.
 ^ Kerschbaum, Sven; Hielscher, KaiSteffen; German, Reinhard (2016). The need for shaping nontimecritical data in PROFINET networks. 14th IEEE International Conference on Industrial Informatics (INDIN). doi:10.1109/INDIN.2016.7819151.
 Books, Surveys, and Tutorials on Network Calculus
 C.S. Chang: Performance Guarantees in Communications Networks, Springer, 2000.
 J.Y. Le Boudec and P. Thiran: Network Calculus: A Theory of Deterministic Queuing Systems for the Internet, Springer, LNCS, 2001.
 Y. Jiang and Y. Liu: Stochastic Network Calculus, Springer, 2008.
 A. Kumar, D. Manjunath, and J. Kuri: Communication Networking: An Analytical Approach, Elsevier, 2004.
 S. Mao and S. Panwar: A survey of envelope processes and their applications in quality of service provisioning, IEEE Communications Surveys and Tutorials, 8(3):220, July 2006.
 M. Fidler: Survey of deterministic and stochastic service curve models in the network calculus, IEEE Communications Surveys and Tutorials, 12(1):5986, January 2010.
 M. Fidler and A. Rizk: A guide to the stochastic network calculus, IEEE Communications Surveys and Tutorials, 17(1):92105, March 2015.
 Related books on the maxplus algebra or on convex minimization
 R. T. Rockafellar: Convex analysis, Princeton University Press, 1972.
 F. Baccelli, G. Cohen, G. J. Olsder, and J.P. Quadrat: Synchronization and Linearity: An Algebra for Discrete Event Systems, Wiley, 1992.
 V. N. Kolokol'tsov, Victor P. Maslov: Idempotent Analysis and Its Applications, Springer, 1997. ISBN 0792345096.
 Deterministic network calculus
 R. L. Cruz: A Calculus for Network Delay. Part I: Network Elements in Isolation and Part II: Network Analysis, IEEE Transactions on Information Theory, 37(1):114141, Jan. 1991.
 A. K. Parekh and R. G. Gallager: A Generalized Processor Sharing Approach to Flow Control : The Multiple Node Case, IEEE Transactions on Networking, 2 (2):137150, April 1994.
 C.S. Chang: Stability, Queue Length and Delay of Deterministic and Stochastic Queueing Networks, IEEE Transactions on Automatic Control, 39(5):913931, May 1994.
 D. E. Wrege, E. W. Knightly, H. Zhang, and J. Liebeherr: Deterministic delay bounds for VBR video in packetswitching networks: Fundamental limits and practical tradeoffs, IEEE/ACM Transactions on Networking, 4(3):352362, Jun. 1996.
 R. L. Cruz: SCED+: Efficient Management of Quality of Service Guarantees, IEEE INFOCOM, pp. 625–634, Mar. 1998.
 J.Y. Le Boudec: Application of Network Calculus to Guaranteed Service Networks, IEEE Transactions on Information Theory, 44(3):10871096, May 1998.
 C.S. Chang: On Deterministic Traffic Regulation and Service Guarantees: A Systematic Approach by Filtering, IEEE Transactions on Information Theory, 44(3):10971110, May 1998.
 R. Agrawal, R. L. Cruz, C. Okino, and R. Rajan: Performance Bounds for Flow Control Protocols, IEEE/ACM Transactions on Networking, 7(3):310323, Jun. 1999.
 J.Y. Le Boudec: Some properties of variable length packet shapers, IEEE/ACM Transactions on Networking, 10(3):329337, Jun. 2002.
 C.S. Chang, R. L. Cruz, J.Y. Le Boudec, and P. Thiran: A Min, + System Theory for Constrained Traffic Regulation and Dynamic Service Guarantees, IEEE/ACM Transactions on Networking, 10(6):805817, Dec. 2002.
 M. Fidler and S. Recker: Conjugate network calculus: A dual approach applying the Legendre transform, Computer Networks, 50(8):10261039, Jun. 2006.
 Eitan Altman, Kostya Avrachenkov, and Chadi Barakat: TCP network calculus: The case of large bandwidthdelay product, In proceedings of IEEE INFOCOM, NY, June 2002.
 Network topologies, feedforward networks
 A. Charny and J.Y. Le Boudec: Delay Bounds in a Network with Aggregate Scheduling, QoFIS, pp. 1–13, Sep. 2000.
 D. Starobinski, M. Karpovsky, and L. Zakrevski: Application of Network Calculus to General Topologies using TurnProhibition, IEEE/ACM Transactions on Networking, 11(3):411421, Jun. 2003.
 M. Fidler: A parameter based admission control for differentiated services networks, Computer Networks, 44(4):463479, March 2004.
 L. Lenzini, L. Martorini, E. Mingozzi, and G. Stea: Tight endtoend perflow delay bounds in FIFO multiplexing sinktree networks, Performance Evaluation, 63(910):956987, October 2006.
 J. Schmitt, F. Zdarsky, and M. Fidler: Delay bounds under arbitrary multiplexing: when network calculus leaves you in the lurch ..., Prof. IEEE Infocom, April 2008.
 A. Bouillard, L. Jouhet, and E. Thierry: Tight performance bounds in the worstcase analysis of feedforward networks, Proc. IEEE Infocom, April 2010.
 Measurementbased system identification
 C. Cetinkaya, V. Kanodia, and E.W. Knightly: Scalable services via egress admission control, IEEE Transactions on Multimedia, 3(1):6981, March 2001.
 S. Valaee, and B. Li: Distributed call admission control for ad hoc networks, Proc. of IEEE VTC, pp. 1244–1248, 2002.
 J. Liebeherr, M. Fidler, and S. Valaee: A systemtheoretic approach to bandwidth estimation, IEEE Transactions on Networking, 18(4):10401053, August 2010.
 M. Bredel, Z. Bozakov, and Y. Jiang: Analyzing router performance using network calculus with external measurements, Proc. IEEE IWQoS, June 2010.
 R. Lubben, M. Fidler, and J. Liebeherr: Stochastic bandwidth estimation in networks with random service, IEEE Transactions on Networking, 22(2):484497, April 2014.
 Stochastic network calculus
 O. Yaron and M. Sidi: Performance and Stability of Communication Networks via Robust Exponential Bounds, IEEE/ACM Transactions on Networking, 1(3):372385, Jun. 1993.
 D. Starobinski and M. Sidi: Stochastically Bounded Burstiness for Communication Networks, IEEE Transactions on Information Theory, 46(1):206212, Jan. 2000.
 C.S. Chang: Stability, Queue Length and Delay of Deterministic and Stochastic Queueing Networks, IEEE Transactions on Automatic Control, 39(5):913931, May 1994.
 R.R. Boorstyn, A. Burchard, J. Liebeherr, and C. Oottamakorn: Statistical Service Assurances for Traffic Scheduling Algorithms, IEEE Journal on Selected Areas in Communications, 18(12):26512664, Dec. 2000.
 Q. Yin, Y. Jiang, S. Jiang, and P. Y. Kong: Analysis of Generalized Stochastically Bounded Bursty Traffic for Communication Networks, IEEE LCN, pp. 141–149, Nov. 2002.
 C. Li, A. Burchard, and J. Liebeherr: A Network Calculus with Effective Bandwidth, University of Virginia, Technical Report CS200320, Nov. 2003.
 A. Burchard, J. Liebeherr, and S. D. Patek: A MinPlus Calculus for Endtoend Statistical Service Guarantees, IEEE Transactions on Information Theory, 52(9):4105–4114, Sep. 2006.
 F. Ciucu, A. Burchard, and J. Liebeherr: A Network Service Curve Approach for the Stochastic Analysis of Networks, IEEE/ACM Transactions on Networking, 52(6):2300–2312, Jun. 2006.
 M. Fidler: An EndtoEnd Probabilistic Network Calculus with Moment Generating Functions, IEEE IWQoS, Jun. 2006.
 Wireless network calculus
 M. Fidler: A Network Calculus Approach to Probabilistic Quality of Service Analysis of Fading Channels, Proc. IEEE Globecom, November 2006.
 K. Mahmood and A. Rizk: On the FlowLevel Delay of a Spatial Multiplexing MIMO Wireless Channel, Proc. IEEE ICC, June 2011.
 H. AlZubaidy, J. Liebeherr, and A. Burchard: A (min, ×) network calculus for multihop fading channels, Proc. IEEE Infocom, pp. 1833–1841, April 2013.
 M. Fidler, R. Lubben, and N. Becker: Capacity–Delay–Error Boundaries: A Composable Model of Sources and Systems, Transactions on Wireless Communications, 14(3):12801294, March 2015.