Unscaled requirements
The unscaled requirements of a process \(j\) are the direct requirements of the process related to the quantitative reference of that process without applying a scaling factor. Mathematically, it is just the column \(j\) of the technosphere matrix \(A\):
$$ A[:, j] $$
REST | GET result/{result-id}/unscaled-requirements-of/{tech-flow} |
IPC | result/unscaled-requirements-of |
Python IPC | Result.get_unscaled_requirements_of |
Return type | List[TechFlowValue] |
Parameter type | TechFlow |
Examples
JSON-RPC via Fetch API
The example below shows the usage of this method using the JSON-RPC protocol via the Fetch API which is available in modern web-browsers or platforms like Deno.
let resp = await fetch("http://localhost:8080", {
method: "POST",
body: JSON.stringify({
jsonrpc: "2.0",
id: 1,
method: "result/unscaled-requirements-of",
params: {
"@id": "66dcc7d0-ce47-46bf-b77a-ada4b4c95169",
"techFlow": {
provider: {
"@type": "Process",
"@id": "ff6b1c80-03b2-4433-adaf-66c51063b078",
},
flow: {
"@type": "Flow",
"@id": "759b89bd-3aa6-42ad-b767-5bb9ef5d331d",
}
}
}
})
});
let v = await resp.json();
console.log(v);
// {
// jsonrpc: "2.0",
// result: [
// { techFlow: { provider: [Object], flow: [Object] }, amount: 3.6 },
// { techFlow: { ...