System Analysis and Modeling Notes

System Analysis and Modeling Notes

Definition of a Model

  • Model: A representation of a system for studying its functions and characteristics.

  • Purpose of modeling includes:

    • Understanding

    • Learning

    • Improvement

    • Optimization

    • Decision Making

Characteristics of Models

  • Models are simplifications and abstractions of reality.

  • They represent an object or idea in a different form than the entity itself.

  • Composed of symbols and ideas that represent the functional relationships of elements in a system.

Levels of Abstraction in Modeling

  • Models can be categorized into three levels:

    • Instances: Specific examples of a concept.

    • Application Classes: Groups that share common traits or functions.

    • Meta Classes: Higher-level frameworks that define the structure and rules governing instances and application classes.

Systems to Model

  • Subject System: The system being studied, which requires information gathering.

  • Usage System: Interactions and contracts related to the subject system.

  • Development System: System that maintains information about the model being built.

System Components

  • System Object: The main focus within the system.

  • Property of an Entity: Variables that describe the system's state during a study.

  • Law: An action occurring over a specified period impacting the system's state.

  • Instantaneous Occurrence: An event that can change the state of the system instantly.

Types of Models

  1. Iconic Models: Physical representations scaled from real-world dimensions.

  2. Analog Models: Use alternative properties to represent aspects of the original system (e.g., electric resistance modeling fluid friction).

  3. Stochastic Models: Incorporate randomness and probabilities (e.g., weather patterns).

  4. Deterministic Models: Use explicit relationships without randomness (e.g., mathematical equations).

  5. Discrete Models: State variables that change at discrete time intervals.

  6. Continuous Models: State variables change continuously over time.

  7. Combined Models: Merging discrete and continuous state variables (e.g., crop growth and harvest timing).

  8. Mathematical Models: Abstract forms written in equations.

  9. Object-oriented Models: Use real-world object abstractions and relationships.

  10. Heuristic Models: Use rules of thumb for modeling system attributes.

Model Levels

  • Conceptual Level: High-level understanding of the model’s scope.

  • Specification Level: Detailed description involving state variables.

  • Computational Level: Implementation details, potentially including pseudocode or program structure.

Modeling Principles

  • Correctness: The model must accurately represent the system.

  • Relevance: The model should focus on significant aspects.

  • Cost vs. Benefit: Assessing resource expenditures against outcomes.

  • Clarity: The model's purpose and function must be easily understandable.

  • Comparability: Results should be comparable across different models.

  • Systematic Structure: Organization within the model should be logical and systematic.

Order of Activities in Modeling

  1. Formulate scenarios with stakeholder input.

  2. Extract use cases from scenarios.

  3. Analyze the flow of events.

  4. Generate class diagrams, including class identification, attributes, operations, and associations.

  5. Establish constraints and multiplicities between classes.

Modeling & Science

  • Models help explain phenomena that can't be directly experienced. They are vital in both research and communication in scientific contexts.

Basic Steps of Modeling

  1. Identify issues to address.

  2. Learn about the system and its environment.

  3. Choose an appropriate modeling approach.

  4. Develop and test the model.

  5. Create a user interface for the model.

  6. Verify and validate the model.

  7. Experiment with the model.

  8. Present results of the analysis.

Dynamic Modeling

  • Relates to models that incorporate time-dependent elements, facilitating interactions over time.

  • Updates can include new data allowing for ongoing refinement of the model.

Transformation Process Model

  • Inputs: Land, people, capital, information.

  • Transformation: Processes that add value, e.g., turning raw materials into products.

  • Outputs: Goods and services.

  • Feedback Control: Measurement of outputs against standards for corrective actions.

Systems as Composed of Subsystems

  • Models can be hierarchical, where systems encompass various subsystems and elemental parts, indicating a structured organization.

Ways to Study Models

  • Experiments with the Actual System: Testing in the real world for data collection.

  • Experiments with a Model: Physical, mathematical, and simulation models can be utilized to predict behavior and interactions.

Key Model Requirements

  • Stakeholder goals, behaviors, structures, properties, and interconnections must all be accounted for in models.

Advantages and Disadvantages of Modeling

  • Advantages: Cost-effective, faster to build, lesser risks, and informative for system behaviors.

  • Disadvantages: Relying on assumptions that might be incorrect and requiring abstract understanding which can lead to inaccuracies.

Product vs. Services

  • Products: Tangible, durable, can be inventoried, longer consumption time, lower customer involvement.

  • Services: Intangible, perishable, immediate consumption, high customer involvement.

Benefits of Using Models

  • Aid in decision-making and problem-solving with less risk and cost.

  • Enhance communication and design quality, ensuring correctness and consistency.

Importance of Models

  • They provide simplifications for real-world study, facilitate discussions, enhance understanding, and enable predictions around behavior and problems.

Verification vs. Validation

  • Verification: Ensures the model is built right according to specifications.

  • Validation: Confirms the model accurately represents the actual system.

End of Notes