Section 57 of 102
56. Adapter Model
Stable section ID: S05-CON-007-SECTION-57 · 43 content blocks
An Adapter is an identifiable Component or Cartridge that connects two otherwise incompatible or differently standardized Interfaces.
Every Adapter shall have at least:
Adapter Type and Instance IDs;
Interface A;
Interface B;
translation function;
supported capabilities;
capacity limits;
conversion losses;
compatibility restrictions;
failure behavior;
inspection requirements;
certification;
lifecycle state.
Example:
adapter Legacy_Water_Adapter_01 : FluidInterfaceAdapter {
id: "s05:adapter:legacy-water-01";
interface_a: @Legacy_Copper_Pipe_Interface;
interface_b: @S05_Water_Interface;
translates {
geometry: legacy_thread_to_s05_quick_connect;
nominal_diameter: 19 mm;
pressure_class: 700 kPa;
}
limitations {
potable_water_only: true;
maximum_temperature: 60 °C;
}
}
The Adapter shall create two separately represented Connections:
connect @Existing_Pipe.interface
to @Legacy_Water_Adapter_01.interface_a;
connect @Legacy_Water_Adapter_01.interface_b
to @Utility_Cartridge_01.water_interface;
An Adapter shall not conceal reduced performance.
The BDL shall identify:
capability before adaptation;
capability after adaptation;
limiting side;
additional dependencies;
additional failure points;
maintenance access.
A software gateway performing protocol conversion shall also be modeled as an Adapter where it changes Interface semantics.