@@ -1183,6 +1183,68 @@ def __init__(
11831183 )
11841184
11851185
1186+ class ChangesToBidAvailabilityArchives (Balancing ):
1187+ """Parameters for IFs mFRR 9.9, aFRR 9.6&9.8 Changes to Bid Availability Archives.
1188+
1189+ Data view:
1190+ https://transparency.entsoe.eu/balancing/r2/changesToBidAvailability/show
1191+
1192+ Fixed parameters:
1193+
1194+ - documentType: B45 (Bid Availability Document)
1195+ - processType: A47 (Manual frequency restoration reserve)
1196+ - storageType: archive
1197+
1198+ Optional parameters:
1199+ - businessType: C40=Conditional bid, C41=Thermal limit, C42=Frequency limit,
1200+ C43=Voltage limit, C44=Current limit,
1201+ C45=Short-circuit current limits,
1202+ C46=Dynamic stability limit
1203+
1204+ Notes:
1205+ - This is the archived version of changes to bid availability
1206+ - The offset parameter paginates the response in batches of 100 archives
1207+ """
1208+
1209+ code = "IF_mFRR_aFRR_9.6_9.8_9.9_Archives"
1210+
1211+ def __init__ (
1212+ self ,
1213+ period_start : int ,
1214+ period_end : int ,
1215+ domain : str ,
1216+ # Optional balancing-specific parameters
1217+ business_type : Optional [str ] = None ,
1218+ # Additional common parameters
1219+ offset : int = 0 ,
1220+ ):
1221+ """
1222+ Initialize changes to bid availability archives parameters.
1223+
1224+ Args:
1225+ period_start: Start period (YYYYMMDDHHMM format)
1226+ period_end: End period (YYYYMMDDHHMM format)
1227+ domain: EIC code of Scheduling Area or LFA
1228+ business_type: C40=Conditional bid, C41=Thermal limit, C42=Frequency limit,
1229+ C43=Voltage limit, C44=Current limit, C45=Short-circuit limit,
1230+ C46=Dynamic stability limit
1231+ offset: Zero-based index of the first archive to return (batches of 100)
1232+ """
1233+ # Initialize with preset and user parameters
1234+ super ().__init__ (
1235+ document_type = "B45" ,
1236+ period_start = period_start ,
1237+ period_end = period_end ,
1238+ domain = domain ,
1239+ process_type = "A47" ,
1240+ business_type = business_type ,
1241+ offset = offset ,
1242+ )
1243+
1244+ # Add the storageType parameter specific to archives endpoint
1245+ self .add_optional_param ("storageType" , "archive" )
1246+
1247+
11861248class BalancingBorderCapacityLimitations (Balancing ):
11871249 """Parameters for IFs 4.3 & 4.4 Balancing Border Capacity Limitations.
11881250
0 commit comments